diff options
Diffstat (limited to 'lib/dblib.lua')
-rw-r--r-- | lib/dblib.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua index e9da88a..d11e1ff 100644 --- a/lib/dblib.lua +++ b/lib/dblib.lua @@ -60,6 +60,8 @@ t:restrict() -- WHERE 1 t:select() print(t:numrows()) -- prints "4" print(t:numfields()) -- prints "3" +row = t:nextrow() +print(row.field1) -- prints "test1" ]]-- |