diff options
| author | 2021-01-06 01:15:52 +0100 | |
|---|---|---|
| committer | 2021-01-06 01:15:52 +0100 | |
| commit | f3ca59a024a749f9847aa08958f06f80d17037e0 (patch) | |
| tree | 9cf92891fdd3c29bf2cb7f5c9eacdc78d1091fee /README.md | |
| parent | add a test that reads only pointers (diff) | |
| download | zig-sqlite-f3ca59a024a749f9847aa08958f06f80d17037e0.tar.gz zig-sqlite-f3ca59a024a749f9847aa08958f06f80d17037e0.tar.xz zig-sqlite-f3ca59a024a749f9847aa08958f06f80d17037e0.zip | |
readme: mention that pointers are allowed
Diffstat (limited to '')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -138,6 +138,8 @@ The type represents a "row", it can be: | |||
| 138 | * a struct where each field maps to the corresponding column in the resultset (so field 0 must map to column 1 and so on). | 138 | * a struct where each field maps to the corresponding column in the resultset (so field 0 must map to column 1 and so on). |
| 139 | * a single type, in that case the resultset must only return one column. | 139 | * a single type, in that case the resultset must only return one column. |
| 140 | 140 | ||
| 141 | The type can be a pointer but only when using the methods taking an allocator. | ||
| 142 | |||
| 141 | Not all types are allowed, see the section "Bind parameters and resultset rows" for more information on the types mapping rules. | 143 | Not all types are allowed, see the section "Bind parameters and resultset rows" for more information on the types mapping rules. |
| 142 | 144 | ||
| 143 | ### Non allocating | 145 | ### Non allocating |