1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-31 21:12:41 +00:00
Arsse/lib/Db
J. King 4a1c23ba45 Munge PostgreSQL queries instead of adding explicit casts
PDO does not adequately inform PostgreSQL of a parameter's type, so type
casts are required. Rather than adding these to each query manually, the
queries are instead processed to add type hints automatically.

Unfortunately the queries are processed rather naively; question-mark
characters in string constants, identifiers, regex patterns, or geometry
operators will break things spectacularly.
2018-11-29 13:45:37 -05:00
..
PostgreSQL Munge PostgreSQL queries instead of adding explicit casts 2018-11-29 13:45:37 -05:00
SQLite3 Improved timeout handling for both SQlite and PostgreSQL 2018-11-22 13:30:13 -05:00
AbstractDriver.php Test PostgreSQL schema upgrade 2018-11-28 10:46:23 -05:00
AbstractResult.php Fix error in previous commit 2018-11-02 12:01:03 -04:00
AbstractStatement.php Clean up statement tests 2018-11-20 15:45:20 -05:00
Driver.php Whitespace cleanup 2018-10-26 14:58:04 -04:00
Exception.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
ExceptionInput.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
ExceptionTimeout.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00
PDODriver.php Munge PostgreSQL queries instead of adding explicit casts 2018-11-29 13:45:37 -05:00
PDOError.php Munge PostgreSQL queries instead of adding explicit casts 2018-11-29 13:45:37 -05:00
PDOResult.php Add missing return type hints where possible 2018-11-02 11:47:10 -04:00
PDOStatement.php Munge PostgreSQL queries instead of adding explicit casts 2018-11-29 13:45:37 -05:00
Result.php Add missing return type hints where possible 2018-11-02 11:47:10 -04:00
ResultAggregate.php Add missing return type hints where possible 2018-11-02 11:47:10 -04:00
ResultEmpty.php Add missing return type hints where possible 2018-11-02 11:47:10 -04:00
Statement.php Change "rebind" to "retype" to better reflect what actually happens 2017-12-30 17:04:21 -05:00
Transaction.php Added per-file legal boilerplate 2017-11-16 20:23:18 -05:00