diff options
| author | 2020-12-27 16:14:10 +0100 | |
|---|---|---|
| committer | 2020-12-27 16:14:10 +0100 | |
| commit | 943f2ece02cf6e98ea7f6163d627cfe5b0005884 (patch) | |
| tree | dbf227c8be03a2cff1a1687b3f491da22875fc0a /sqlite.zig | |
| parent | readBytes can simply take the allocator instead of the options (diff) | |
| download | zig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.tar.gz zig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.tar.xz zig-sqlite-943f2ece02cf6e98ea7f6163d627cfe5b0005884.zip | |
fix some typos
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -183,7 +183,7 @@ pub fn Iterator(comptime Type: type) type { | |||
| 183 | 183 | ||
| 184 | stmt: *c.sqlite3_stmt, | 184 | stmt: *c.sqlite3_stmt, |
| 185 | 185 | ||
| 186 | // next scans the next row using the preapred statement. | 186 | // next scans the next row using the prepared statement. |
| 187 | // | 187 | // |
| 188 | // If it returns null iterating is done. | 188 | // If it returns null iterating is done. |
| 189 | pub fn next(self: *Self, options: anytype) !?Type { | 189 | pub fn next(self: *Self, options: anytype) !?Type { |
| @@ -487,7 +487,7 @@ pub const StatementOptions = struct {}; | |||
| 487 | /// }; | 487 | /// }; |
| 488 | /// const rows = try stmt.all(Row, .{ .allocator = allocator }, .{}); | 488 | /// const rows = try stmt.all(Row, .{ .allocator = allocator }, .{}); |
| 489 | /// | 489 | /// |
| 490 | /// Look at aach function for more complete documentation. | 490 | /// Look at each function for more complete documentation. |
| 491 | /// | 491 | /// |
| 492 | pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type { | 492 | pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type { |
| 493 | return struct { | 493 | return struct { |