Jump to content

SQLite problems


rockleg

Recommended Posts

You can check the wiki page of any function for the syntax and a basic example.

local qh = dbQuery('SELECT * FROM accounts') 
local results = dbPoll(qh, -1) 

-1 means that it will wait for the database to return the results. You can also use callbacks which is better because it doesn't freeze the server till the data is returned.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...