27eb38da | 21-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
Allow passing parameters as multiple function args
This is what the old query methods allowed. Passing in an array is still somewhat cleaner, but allowing separate arguments should make porting olde
Allow passing parameters as multiple function args
This is what the old query methods allowed. Passing in an array is still somewhat cleaner, but allowing separate arguments should make porting older code a bit more convenient.
show more ...
|
33e488b3 | 13-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
Added queryKeyValueList convenience method
This is a common use case in plugins |
10cb854a | 13-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
renamed getDB to getPdo
This is clearer in what to expect as a return value |
54f742cc | 22-Mar-2023 |
Szymon Olewniczak <szyolewn@pg.edu.pl> |
fix calls to non existing method pdo() |
c9d29def | 19-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
added tests for SQLiteDB class |
d0a5ba7a | 18-Mar-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix helper tests
This ensures that the helper is working as intended for backwards compatibility. New tests for the new class still have to be added. |
4d5e7775 | 22-Jul-2021 |
Andreas Gohr <andi@splitbrain.org> |
Upgrading tests |
24767754 | 01-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added test for serializing |
16f1f05f | 28-Jul-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
close PDOstatements in unittests
close PDOStatement object when in a state of having unfetched rows. |
01be6b27 | 04-Jan-2014 |
Andreas Gohr <andi@splitbrain.org> |
fix strict warnings in tests |
db052cbe | 23-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
put tests into their own group |
8f839877 | 22-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
dropped support for referencing specific row in res2row
This is not possible in Sqlite3 (PDO) because of the lack of scrollable cursors. |
852bc682 | 22-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
do not count changes of an empty result |
b0653a7e | 22-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
added a way to force sqlite2 in the tests |
5922cb27 | 22-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
corrected string detected
sqlite only allows single quoted strings and uses doubled single quotes for escaping |
3fb592da | 22-Jan-2013 |
Andreas Gohr <gohr@cosmocode.de> |
statebased parser for splitting SQL strings
the RegExp approach segfaulted on larger inputs (eg. full database dumps). The new approach can also handle comments and multiline strings. |
ca2f2ada | 03-Nov-2012 |
Klap-in <klapinklapin@gmail.com> |
Add unit tests for functions that referers to the different sqlite backends |