diff options
| author | 2020-12-21 21:01:39 +0100 | |
|---|---|---|
| committer | 2020-12-21 21:01:39 +0100 | |
| commit | a1cf924ab54abed3083f22ee6e9d2688d8c43734 (patch) | |
| tree | 593ba1e1a4660762c4fa3a9f864c526a0e2f3a18 /README.md | |
| parent | readme: fix spelling (diff) | |
| download | zig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.tar.gz zig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.tar.xz zig-sqlite-a1cf924ab54abed3083f22ee6e9d2688d8c43734.zip | |
readme: Bytes doesn't exist, it's either Blob or Text
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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 | ||
| 135 | Here are the rules for resultset rows: | 136 | Here 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. |