summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlite.zig b/sqlite.zig
index c9b7f07..015dd64 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -180,6 +180,9 @@ pub fn Iterator(comptime Type: type) type {
180 180
181 stmt: *c.sqlite3_stmt, 181 stmt: *c.sqlite3_stmt,
182 182
183 // next scans the next row using the preapred statement.
184 //
185 // If it returns null iterating is done.
183 pub fn next(self: *Self, options: anytype) !?Type { 186 pub fn next(self: *Self, options: anytype) !?Type {
184 var result = c.sqlite3_step(self.stmt); 187 var result = c.sqlite3_step(self.stmt);
185 if (result == c.SQLITE_DONE) { 188 if (result == c.SQLITE_DONE) {