diff options
| author | 2021-01-06 01:29:01 +0100 | |
|---|---|---|
| committer | 2021-01-06 01:29:01 +0100 | |
| commit | e35220eb184e15219af0ba279423c529299e2b61 (patch) | |
| tree | 11d871c9372976bb9dc29bebbd49c658f80b1f28 /README.md | |
| parent | ci: aarch64 builds are super slow, don't do them twice (diff) | |
| parent | readme: mention that pointers are allowed (diff) | |
| download | zig-sqlite-e35220eb184e15219af0ba279423c529299e2b61.tar.gz zig-sqlite-e35220eb184e15219af0ba279423c529299e2b61.tar.xz zig-sqlite-e35220eb184e15219af0ba279423c529299e2b61.zip | |
Merge pull request #12 from vrischmann/read-pointers
Read pointers
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 |