| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | simplify iterator usage in code and doc | 2021-02-27 | 1 | -10/+5 | |
| | | |||||
| * | add Diagnostics | 2021-02-27 | 1 | -11/+130 | |
| | | |||||
| * | store the database handle in Iterator and Statement | 2021-02-27 | 1 | -0/+4 | |
| | | |||||
| * | add Blob.reopen | 2021-01-31 | 1 | -17/+53 | |
| | | |||||
| * | add incremental i/o on blob | 2021-01-31 | 1 | -0/+204 | |
| | | |||||
| * | add the Db.getLastInsertRowID method | 2021-01-31 | 1 | -1/+24 | |
| | | |||||
| * | rework of the test database initialization | 2021-01-24 | 1 | -45/+48 | |
| | | | | | | | | | The hardcoded path we used is invalid on Windows, instead use a temp directory from std.testing.tmpDir. Need to do some refactoring too because now we compute the database file path and therefore need an allocator while the Mode is in use in Db.init. | ||||
| * | allow binding and reading optionals | 2021-01-06 | 1 | -2/+32 | |
| | | | | | Also allow binding the '(null)' value. | ||||
| * | add a test for optionals | 2021-01-06 | 1 | -0/+27 | |
| | | |||||
| * | fix compile error in readField | 2021-01-06 | 1 | -1/+1 | |
| | | |||||
| * | add a test that reads only pointers | 2021-01-06 | 1 | -0/+35 | |
| | | |||||
| * | implement reading a value into a one-element pointer | 2021-01-06 | 1 | -1/+6 | |
| | | |||||
| * | 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 | |
| | | |||||