summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dblib.lua2
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"
]]--