summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-01-02 00:30:43 +0100
committerGravatar Vincent Rischmann2021-01-02 00:30:43 +0100
commit386cf1abb8fd43e6169c5c123c81321e70051a1f (patch)
tree0fb276a5ac7cb7c290dbdacb7e9ecefa6c7a585b /sqlite.zig
parentfix compile error (diff)
downloadzig-sqlite-386cf1abb8fd43e6169c5c123c81321e70051a1f.tar.gz
zig-sqlite-386cf1abb8fd43e6169c5c123c81321e70051a1f.tar.xz
zig-sqlite-386cf1abb8fd43e6169c5c123c81321e70051a1f.zip
fix the comment on Stmt.one and Stmt.all
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig4
1 files changed, 1 insertions, 3 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 7e6018e..967dba1 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -805,8 +805,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) t
805 /// .{ .foo = "bar", .age = 500 }, 805 /// .{ .foo = "bar", .age = 500 },
806 /// ); 806 /// );
807 /// 807 ///
808 /// The `options` tuple is used to provide additional state in some cases, for example 808 /// The `options` tuple is used to provide additional state in some cases.
809 /// an allocator used to read text and blobs.
810 /// 809 ///
811 /// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers 810 /// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers
812 /// in the input query string. 811 /// in the input query string.
@@ -856,7 +855,6 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) t
856 /// ); 855 /// );
857 /// 856 ///
858 /// The `options` tuple is used to provide additional state in some cases. 857 /// The `options` tuple is used to provide additional state in some cases.
859 /// Note that for this function the allocator is mandatory.
860 /// 858 ///
861 /// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers 859 /// The `values` tuple is used for the bind parameters. It must have as many fields as there are bind markers
862 /// in the input query string. 860 /// in the input query string.