diff options
| author | 2021-01-02 00:30:43 +0100 | |
|---|---|---|
| committer | 2021-01-02 00:30:43 +0100 | |
| commit | 386cf1abb8fd43e6169c5c123c81321e70051a1f (patch) | |
| tree | 0fb276a5ac7cb7c290dbdacb7e9ecefa6c7a585b /sqlite.zig | |
| parent | fix compile error (diff) | |
| download | zig-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.zig | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -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. |