summaryrefslogtreecommitdiff
path: root/query.zig (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix https://github.com/vrischmann/zig-sqlite/issues/187Gravatar Gracen2025-06-081-2/+23
|
* Reuse field for bindingGravatar IamSanjid2024-10-231-6/+11
|
* fix for latest zigGravatar Vincent Rischmann2024-08-291-2/+2
|
* fix for latest zigGravatar Vincent Rischmann2024-04-141-159/+173
| | | | Also some major refactoring around the query parsing state.
* query: fix zig fmt errorsGravatar Jari Vetoniemi2023-12-191-1/+1
|
* query: parse names of bind parametersGravatar Jari Vetoniemi2023-12-181-1/+19
| | | | | bind parameter amount should not increase if bind parameter with same name exists.
* query: support [] and ` identifiersGravatar Jari Vetoniemi2023-12-181-2/+2
|
* Update query.zigGravatar Krvopije2023-12-021-1/+1
| | | std.mem.copy was deprecated
* Update to zig 0.12.0-dev.1664+8ca4a5240Gravatar Ed Yu2023-11-211-2/+2
|
* fix for latest zigGravatar Vincent Rischmann2022-12-111-1/+1
|
* fix for stage2Gravatar Vincent Rischmann2022-12-061-1/+1
|
* fix for latest zigGravatar Vincent Rischmann2022-09-171-3/+3
|
* move Text in sqlite.zigGravatar Vincent Rischmann2022-08-051-3/+1
| | | | | | | | | At first Blob and Text were defined in query.zig because they were used for bind parameters, but now we also use them for reading text or blob columns appropriately. Both types now live in sqlite.zig which query.zig already imports so it doesn't change anything.
* Make ParsedQuery a generic on query lengthGravatar Luna2022-05-171-161/+168
|
* allow parsing optional types in bind marker typesGravatar Vincent Rischmann2022-05-031-1/+16
|
* the '_' character is valid in a named bind parameterGravatar Vincent Rischmann2022-05-021-1/+6
|
* query: improve testsGravatar Vincent Rischmann2022-01-021-23/+37
|
* query: rework the named bind marker parsingGravatar Vincent Rischmann2022-01-021-15/+12
|
* query: use snake_case for the states for consistencyGravatar Vincent Rischmann2022-01-021-18/+18
|
* query: remove identifier from BindMarkerGravatar Vincent Rischmann2022-01-021-18/+17
|
* query: remove identifier_type from BindMarkerGravatar Vincent Rischmann2022-01-021-41/+0
|
* fix query parsing when there's a named identifier without a typeGravatar Vincent Rischmann2021-12-311-0/+1
|
* query: also test the number of bind markersGravatar Vincent Rischmann2021-12-311-0/+10
|
* improve query parsing to ignore bind markers prefix inside stringsGravatar Vincent Rischmann2021-12-181-0/+16
| | | | Fixes #65
* add a test for bind markers inside stringsGravatar Vincent Rischmann2021-12-181-1/+31
|
* query: use lowercase for enum fieldsGravatar Vincent Rischmann2021-10-231-9/+12
|
* query: increase eval branch quota for testsGravatar Vincent Rischmann2021-10-231-0/+1
|
* query: no need to use comptimePrintGravatar Vincent Rischmann2021-10-231-3/+3
|
* query: use a switch instead of if/else chainsGravatar Vincent Rischmann2021-10-231-8/+11
|
* document BindMarkerGravatar Vincent Rischmann2021-10-231-2/+9
|
* rename id_type/IdType for naming consistencyGravatar Vincent Rischmann2021-10-231-9/+9
|
* query.zig: code formatGravatar thisLight2021-10-191-25/+19
|
* BindMarker: idType to id_typeGravatar thisLight2021-10-191-8/+8
|
* BindMarker, ParsedQuery: support BindMarker.idTypeGravatar thisLight2021-10-191-2/+48
|
* ParsedQuery: support :@$ as bind marker markGravatar thisLight2021-10-191-18/+17
|
* ParsedQuery: support named parameters.Gravatar thisLight2021-10-191-18/+115
| | | | | Besides ParsedQuery, BindMarker have been reworked to fit new need of named parameters.
* query: fix new compilation errorsGravatar Vincent Rischmann2021-06-251-9/+3
|
* all: update for latest zigGravatar Vincent Rischmann2021-05-191-3/+2
|
* all: fix tests for latest zigGravatar Vincent Rischmann2021-05-091-4/+4
|
* add incremental i/o on blobGravatar Vincent Rischmann2021-01-311-2/+1
|
* remove debug print statementsGravatar Vincent Rischmann2021-01-241-2/+0
|
* convert {} to {s} or {d}Gravatar Vincent Rischmann2021-01-031-2/+2
|
* allow bool bind parameters and reading bool valuesGravatar Vincent Rischmann2020-12-211-0/+3
|
* is_signed was replaced with .signednessGravatar Vincent Rischmann2020-11-261-1/+1
|
* allow untyped bind markersGravatar Vincent Rischmann2020-11-111-9/+31
|
* add types to bind markers and check them at comptimeGravatar Vincent Rischmann2020-11-111-0/+190