lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks, Michal for the nice explanation.

Rick,

On Fri, Sep 9, 2016 at 2:03 PM, Leinen, Rick <RLeinen@leviton.com> wrote:

Also, I don’t see sqlite3.ROW listed at http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki.  Should I be looking elsewhere?


See: http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#stmt_step

where the results of step are listed.

There is also a table at http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#numerical_error_and_result_codes
that shows ROW. It is sqlite3.ROW because you typically do

   sqlite3 = require 'lsqlite3'

so all the constants are in the sqlite3 table.