GhostXoP Posted December 23, 2012 Share Posted December 23, 2012 If i select data from a row using dbquery and dbpoll the handle with a -1 timeout, will it return false if the row doesnt exist? Link to comment
Castillo Posted December 23, 2012 Share Posted December 23, 2012 I'm not exactly sure, it may return a table, but empty. You can check if it exists with this: local result, numrows, errmsg = dbPoll ( query, -1 ) if ( not result or numrows == 0 ) then -- Doesn't exist end 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