summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2020-12-21 21:01:39 +0100
committerGravatar Vincent Rischmann2020-12-21 21:01:39 +0100
commita1cf924ab54abed3083f22ee6e9d2688d8c43734 (patch)
tree593ba1e1a4660762c4fa3a9f864c526a0e2f3a18
parentreadme: fix spelling (diff)
downloadzig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.tar.gz
zig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.tar.xz
zig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.zip
readme: Bytes doesn't exist, it's either Blob or Text
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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:
130* any Zig `Int` or `ComptimeInt` is tread as a `INTEGER`. 130* any Zig `Int` or `ComptimeInt` is tread as a `INTEGER`.
131* any Zig `Float` or `ComptimeFloat` is treated as a `REAL`. 131* any Zig `Float` or `ComptimeFloat` is treated as a `REAL`.
132* `[]const u8`, `[]u8` or any array of `u8` is treated as a `TEXT`. 132* `[]const u8`, `[]u8` or any array of `u8` is treated as a `TEXT`.
133* The custom `sqlite.Bytes` type is treated as a `TEXT` or `BLOB`. 133* The custom `sqlite.Blob` type is treated as a `BLOB`.
134* The custom `sqlite.Text` type is treated as a `TEXT`.
134 135
135Here are the rules for resultset rows: 136Here are the rules for resultset rows:
136* `INTEGER` can be read into any Zig `Int` provided the data fits. 137* `INTEGER` can be read into any Zig `Int` provided the data fits.