summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2020-12-27 18:49:17 +0100
committerGravatar Vincent Rischmann2020-12-30 22:46:23 +0100
commit72a6b23d42b9ed6f885bb801515062951e61fcf5 (patch)
tree78984de1fe170f8f4fb60534a86510965ad1d263 /README.md
parentdocument OpenFlags (diff)
downloadzig-sqlite-72a6b23d42b9ed6f885bb801515062951e61fcf5.tar.gz
zig-sqlite-72a6b23d42b9ed6f885bb801515062951e61fcf5.tar.xz
zig-sqlite-72a6b23d42b9ed6f885bb801515062951e61fcf5.zip
introduce *Alloc methods
Stmt.oneAlloc, Db.oneAlloc and Iterator.nextAlloc do the same thing as Stmt.one, Db.one, Iterator.next respectively but they can allocate memory. This is useful when reading TEXT or BLOB columns because if you can't allocate memory the only way to read these types is with an array which means you must have an idea of the maximum size of the column.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions