I am using the SQLite plugin and am still new at doing the whole "SELECT * FROM ..." stuff and was wondering if anyone has any SQLite functions laying around in a script file somewhere.
Like this...
Just to make the reading and writing of data from databases so much simpler. I'm sure (but I don't know how) that functions could be made that would allow a person to do just about every SQLite action there is with ease.Code:function SQLIte.GetValue(dbID, sTable, sColumn, sRow) --Mysterious SQLite code here return MagicValue end function SQLIte.CountRows(dbID, sTable) --Mysterious SQLite code here return MagicValue end
Most of the trouble I'm having is that I can't figure out to get records from a database that contains more than one table. The plugin does not seem to discriminate against multiple tables in a database (or I'm just missing it).
The possibility also exists that I'm just a N00b at this and need to give it some time to sink in in order to find simplicity in the code.
Oh, also, anyone know how to turn on auto vacuum when using the SQLite plugin?
Thanks for reading guys.![]()

Reply With Quote