diff options
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -9,7 +9,6 @@ const testing = std.testing; | |||
| 9 | 9 | ||
| 10 | const c = @import("c.zig").c; | 10 | const c = @import("c.zig").c; |
| 11 | 11 | ||
| 12 | pub const Text = @import("query.zig").Text; | ||
| 13 | pub const ParsedQuery = @import("query.zig").ParsedQuery; | 12 | pub const ParsedQuery = @import("query.zig").ParsedQuery; |
| 14 | 13 | ||
| 15 | const errors = @import("errors.zig"); | 14 | const errors = @import("errors.zig"); |
| @@ -21,6 +20,9 @@ const getDetailedErrorFromResultCode = errors.getDetailedErrorFromResultCode; | |||
| 21 | 20 | ||
| 22 | const logger = std.log.scoped(.sqlite); | 21 | const logger = std.log.scoped(.sqlite); |
| 23 | 22 | ||
| 23 | /// Text is used to represent a SQLite TEXT value when binding a parameter or reading a column. | ||
| 24 | pub const Text = struct { data: []const u8 }; | ||
| 25 | |||
| 24 | /// ZeroBlob is a blob with a fixed length containing only zeroes. | 26 | /// ZeroBlob is a blob with a fixed length containing only zeroes. |
| 25 | /// | 27 | /// |
| 26 | /// A ZeroBlob is intended to serve as a placeholder; content can later be written with incremental i/o. | 28 | /// A ZeroBlob is intended to serve as a placeholder; content can later be written with incremental i/o. |