| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | add readField | 2021-01-06 | 1 | -15/+20 | ||
| | | ||||||
| * | reorder fields to workaround a compiler bug | 2021-01-06 | 1 | -17/+17 | ||
| | | ||||||
| * | logging file open {} -> {s} | 2021-01-05 | 1 | -1/+1 | ||
| | | ||||||
| * | convert {} to {s} or {d} | 2021-01-03 | 1 | -3/+3 | ||
| | | ||||||
| * | add a test for binding a .One pointer | 2021-01-02 | 1 | -0/+22 | ||
| | | ||||||
| * | stop special casing []const u8 and []u8, do it in the .Pointer switch arm | 2021-01-02 | 1 | -3/+6 | ||
| | | ||||||
| * | allow binding a pointer | 2021-01-02 | 1 | -0/+1 | ||
| | | ||||||
| * | add a test that binds a string literal | 2021-01-02 | 1 | -0/+20 | ||
| | | ||||||
| * | add bindField | 2021-01-02 | 1 | -24/+31 | ||
| | | ||||||
| * | fix the comment on Stmt.one and Stmt.all | 2021-01-02 | 1 | -3/+1 | ||
| | | ||||||
| * | fix compile error | 2021-01-01 | 1 | -1/+1 | ||
| | | ||||||
| * | check the weight field too | 2021-01-01 | 1 | -0/+1 | ||
| | | ||||||
| * | fix tests with the new errors | 2020-12-31 | 1 | -2/+2 | ||
| | | ||||||
| * | add proper error types | 2020-12-31 | 1 | -8/+7 | ||
| | | | | | | | | * Add SQLiteError and various SQLiteExtendedXYZError * Replace old errors with the SQLite ones where appropriate Fixes #8 | |||||
| * | add pragmaAlloc | 2020-12-30 | 1 | -21/+43 | ||
| | | ||||||
| * | add more tests | 2020-12-30 | 1 | -28/+83 | ||
| | | ||||||
| * | introduce *Alloc methods | 2020-12-30 | 1 | -48/+109 | ||
| | | | | | | | | | | | 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. | |||||
| * | document OpenFlags | 2020-12-30 | 1 | -0/+1 | ||
| | | ||||||
| * | add more tests for failures | 2020-12-30 | 1 | -0/+21 | ||
| | | | | | | * one for Db.init * one for Db.prepare | |||||
| * | remove logging | 2020-12-30 | 1 | -3/+0 | ||
| | | ||||||
| * | add Error, DetailedError | 2020-12-30 | 1 | -0/+33 | ||
| | | ||||||
| * | document ThreadingMode and InitOptions | 2020-12-30 | 1 | -1/+19 | ||
| | | ||||||
| * | remove the allocator from Db and Db.init | 2020-12-30 | 1 | -21/+18 | ||
| | | ||||||
| * | add initOptions for testing | 2020-12-29 | 1 | -14/+24 | ||
| | | ||||||
| * | add InitOptions | 2020-12-29 | 1 | -15/+29 | ||
| | | ||||||
| * | add the threading mode | 2020-12-29 | 1 | -0/+14 | ||
| | | ||||||
| * | rename is_ci to in_memory | 2020-12-28 | 1 | -2/+2 | ||
| | | ||||||
| * | fix some typos | 2020-12-27 | 1 | -2/+2 | ||
| | | ||||||
| * | readBytes can simply take the allocator instead of the options | 2020-12-27 | 1 | -16/+16 | ||
| | | ||||||
| * | don't pass the options to readInt, readFloat, readBool | 2020-12-27 | 1 | -9/+9 | ||
| | | ||||||
| * | require the callers to provide a 0-terminated string | 2020-12-27 | 1 | -6/+2 | ||
| | | ||||||
| * | add the Db.one() convenience function | 2020-12-21 | 1 | -0/+27 | ||
| | | ||||||
| * | implement reading of sentineled slices | 2020-12-21 | 1 | -25/+50 | ||
| | | ||||||
| * | add the readPointer method | 2020-12-21 | 1 | -3/+24 | ||
| | | ||||||
| * | add comments | 2020-12-21 | 1 | -0/+3 | ||
| | | ||||||
| * | add comments | 2020-12-21 | 1 | -2/+42 | ||
| | | ||||||
| * | make readBytes read Blob, Text as well as []const u8, []u8 | 2020-12-21 | 1 | -38/+42 | ||
| | | ||||||
| * | make readArray return an array instead of taking a pointer | 2020-12-21 | 1 | -7/+7 | ||
| | | ||||||
| * | add a weight real column to the test table | 2020-12-21 | 1 | -14/+18 | ||
| | | ||||||
| * | make readInt, readFloat, readBool return a specific type and column | 2020-12-21 | 1 | -17/+14 | ||
| | | ||||||
| * | reorder the arguments of readBytes | 2020-12-21 | 1 | -7/+7 | ||
| | | ||||||
| * | make readBytes return a value instead of taking a pointer | 2020-12-21 | 1 | -19/+13 | ||
| | | ||||||
| * | actually check the value of is_id | 2020-12-21 | 1 | -0/+1 | ||
| | | ||||||
| * | allow reading a bool field | 2020-12-21 | 1 | -1/+6 | ||
| | | ||||||
| * | allow bool bind parameters and reading bool values | 2020-12-21 | 1 | -0/+47 | ||
| | | ||||||
| * | pass the column in readArray | 2020-12-21 | 1 | -7/+12 | ||
| | | | | | also test that we can read an array field | |||||
| * | add reading a field into an array | 2020-12-21 | 1 | -13/+52 | ||
| | | | | | | | We require having a sentineled array because otherwise we have no way of communicating to the caller the actual length of the data we put into the array. | |||||
| * | replace span() with the field items | 2020-11-26 | 1 | -3/+3 | ||
| | | ||||||
| * | return the slice from toOwnedSlice | 2020-11-26 | 1 | -1/+1 | ||
| | | ||||||
| * | allow reading into a void value (essentially discarding the column) | 2020-11-13 | 1 | -0/+16 | ||
| | | ||||||