From a1cf924ab54abed3083f22ee6e9d2688d8c43734 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Mon, 21 Dec 2020 21:01:39 +0100 Subject: readme: Bytes doesn't exist, it's either Blob or Text --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 22b775e..baf7c77 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,8 @@ Here are the rules for bind parameters: * any Zig `Int` or `ComptimeInt` is tread as a `INTEGER`. * any Zig `Float` or `ComptimeFloat` is treated as a `REAL`. * `[]const u8`, `[]u8` or any array of `u8` is treated as a `TEXT`. -* The custom `sqlite.Bytes` type is treated as a `TEXT` or `BLOB`. +* The custom `sqlite.Blob` type is treated as a `BLOB`. +* The custom `sqlite.Text` type is treated as a `TEXT`. Here are the rules for resultset rows: * `INTEGER` can be read into any Zig `Int` provided the data fits. -- cgit v1.2.3