'LinKin Posted March 18, 2015 Share Posted March 18, 2015 Hello, I've been told that using executeSQLQuery hangs the whole server while waiting for response and lacks support for callbacks. I was told to use db* functions for better performance. I assume I'd need to create a resource with its own database file, so that I can connect to it by using dbConnect How to create this .db file (for SQLite) inside the script that I am doing? Regards, Linkin. Link to comment
TAPL Posted March 18, 2015 Share Posted March 18, 2015 dbConnect will create the database file if it not exist. For SQLite it is a filepath to a SQLite database file. If the filepath starts with ":/" then the server's global databases directory is used. The file will be created if it does not exist. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now