summaryrefslogtreecommitdiff
path: root/sqlite.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove unused assertGravatar Vincent Rischmann2022-04-241-3/+0
|
* clarify type nameGravatar Vincent Rischmann2022-04-241-3/+3
|
* add compile error when passing non-struct to Statement.bindGravatar Luna2022-04-241-0/+5
|
* add test for runtime slices as DynamicStatement argsGravatar Luna2022-04-241-0/+22
|
* emit compileError on unsupported pointer sizesGravatar Luna2022-04-241-4/+8
|
* add support for arrays as runtime bind valuesGravatar Luna2022-04-241-0/+5
|
* allow slices to be passed as bind parametersGravatar Luna2022-04-241-9/+22
|
* remove the 'opening' logsGravatar Vincent Rischmann2022-04-231-4/+0
|
* handle tagged union when binding parametersGravatar Vincent Rischmann2022-04-231-0/+87
|
* add the Db.execAlloc methodGravatar Vincent Rischmann2022-04-211-0/+19
|
* remove commentGravatar Vincent Rischmann2022-04-211-3/+0
|
* cleanup the temporary values correctly for enumsGravatar Vincent Rischmann2022-04-211-26/+42
|
* check explicitly that bindField is implementedGravatar Vincent Rischmann2022-04-211-1/+7
|
* fix alignCast in the xStep callback of createAggregateFunctionGravatar Vincent Rischmann2022-04-171-12/+8
|
* factor the CreateFunctionFlag to c_int codeGravatar Vincent Rischmann2022-04-171-14/+15
|
* work on supporting aggregate SQL functionsGravatar Vincent Rischmann2022-04-171-78/+259
|
* document CreateFunctionFlagGravatar Vincent Rischmann2022-04-161-0/+8
|
* constrain the error set of createScalarFunctionGravatar Vincent Rischmann2022-04-161-1/+1
|
* add createScalarFunction to create a user-defined scalar functionGravatar Vincent Rischmann2022-04-031-0/+292
|
* only use sqlite3_error_offset if compatibleGravatar Luna2022-04-021-1/+8
|
* add error offsets to DetailedErrorGravatar Luna2022-04-021-3/+9
| | | | API introduced on 3.38.0
* fix sentinelGravatar Vincent Rischmann2022-02-051-19/+23
|
* add a test for a crash found by fuzzingGravatar Vincent Rischmann2021-12-311-1/+5
|
* fix savepoint InitErrorGravatar Vincent Rischmann2021-12-311-0/+3
|
* statement: return an error if using exec() returns dataGravatar Vincent Rischmann2021-12-311-0/+1
|
* add a test using untyped bind markersGravatar Vincent Rischmann2021-12-311-0/+19
|
* use StatementTypeGravatar Vincent Rischmann2021-12-311-4/+2
|
* fix a panic in Statement.prepare if the query is emptyGravatar Vincent Rischmann2021-12-261-0/+7
| | | | | sqlite3_prepare_v2 doesn't return an error code if the input query string is empty or is a comment, instead the statement will be null.
* add tests for crashes found by fuzzingGravatar Vincent Rischmann2021-12-261-0/+19
|
* fix readArray when reading zero-length blobGravatar Vincent Rischmann2021-12-181-8/+17
| | | | | sqlite3_column_blob returns a NULL pointer for a zero-length blob, which must be handled correctly.
* add a test binding an empty slice to a text columnGravatar Vincent Rischmann2021-12-181-0/+67
|
* always deinit the test databaseGravatar Vincent Rischmann2021-12-181-0/+30
| | | | otherwise using the dbfile option won't work
* rename argument for clarityGravatar Vincent Rischmann2021-12-181-3/+3
| | | | also style consistency; variables should be snake case
* all: replace spanZ with sliceToGravatar Vincent Rischmann2021-12-011-8/+12
|
* all: fix for latest Allocator interface refactorGravatar Vincent Rischmann2021-12-011-44/+61
|
* dynamic statement: fix documentationGravatar Vincent Rischmann2021-11-221-3/+5
|
* dynamic statement: document bind()Gravatar Vincent Rischmann2021-11-221-0/+33
|
* dynamic statement: add some testsGravatar Vincent Rischmann2021-11-221-0/+98
|
* dynamic statement: fix one()Gravatar Vincent Rischmann2021-11-221-1/+1
|
* remove smartBind/bindNamedStruct, they're not actually necessaryGravatar Vincent Rischmann2021-11-221-33/+11
|
* FixesGravatar Felix "xq" Queißner2021-11-221-3/+36
|
* A handful of tiny fixes.Gravatar Felix "xq" Queißner2021-11-221-6/+6
|
* savepoint: always deinit the statementsGravatar Vincent Rischmann2021-11-071-0/+5
|
* implement savepointGravatar Vincent Rischmann2021-10-231-0/+250
|
* use explicit error sets everywhereGravatar Vincent Rischmann2021-10-231-11/+25
|
* sqlite: move to new ParsedQuery and BindMarkerGravatar thisLight2021-10-191-13/+9
|
* use snake case for field namesGravatar Vincent Rischmann2021-10-181-3/+3
|
* make bindField clearerGravatar Vincent Rischmann2021-10-181-34/+52
| | | | | | | | | | Be less clever with comptime reflection. This has the advantage of making the code a lot clearer, clearly identifying which case are converting an sqlite int result to an error. This also makes it easier to follow the error trace if there is an error while binding a field.
* no need for comptimePrint hereGravatar Vincent Rischmann2021-10-181-1/+1
|
* improve documentation of DynamicStatementGravatar Vincent Rischmann2021-10-181-27/+27
|