How to use SQLite3?
#4
Alright, so I've started learning how SQLite3 works. I've been doing decent so far. I've got my table created and im already doing other stuff with it. One thing confuses me about the DB:exec() function that the documentation on the Lua SQLite3 page doesn't cover. What is udata? What does it represent as a parameter in the callback function?
Also, the third parameter to the exec() function I have no idea what its for and I assume its related to udata.

EDIT: I'm stupid, haha. udata is the third argument. "UserData" its to pass needed data into the callback I suppose.
Reply
Thanks given by:


Messages In This Thread
How to use SQLite3? - by Shadowraix - 05-08-2015, 12:28 PM
RE: How to use SQLite3? - by xoft - 05-08-2015, 05:15 PM
RE: How to use SQLite3? - by Shadowraix - 05-10-2015, 12:21 AM
RE: How to use SQLite3? - by Shadowraix - 05-10-2015, 10:39 AM
RE: How to use SQLite3? - by xoft - 05-10-2015, 03:59 PM
RE: How to use SQLite3? - by Shadowraix - 05-10-2015, 04:13 PM
RE: How to use SQLite3? - by LogicParrot - 05-10-2015, 11:42 PM
RE: How to use SQLite3? - by NathanFlurry - 05-11-2015, 04:27 AM
RE: How to use SQLite3? - by xoft - 05-11-2015, 07:31 AM
RE: How to use SQLite3? - by Aggroblut - 06-02-2015, 01:43 AM
RE: How to use SQLite3? - by xoft - 06-02-2015, 02:07 AM



Users browsing this thread: 1 Guest(s)