KariiiM Posted September 24, 2015 Posted September 24, 2015 Hey,Is there's a different between dbQuery or dbExec in creating Table? --With dbQuery, dbQuery (connection, "CREATE TABLE IF NOT EXISTS `account` (`user TEXT`)") --With dbExec dbExec(connection, "CREATE TABLE IF NOT EXISTS `account` (`user TEXT`)")
Jusonex Posted September 24, 2015 Posted September 24, 2015 dbQuery returns the result while dbExec does not. So if you don't expect a result (as for CREATE TABLE), use dbExec.
KariiiM Posted September 24, 2015 Author Posted September 24, 2015 dbQuery returns the result while dbExec does not. So if you don't expect a result (as for CREATE TABLE), use dbExec. Alright i got it , thanks
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