1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 05:44:53 +00:00
Arsse/lib/Misc
J. King 8fc31cfc40 Rewrite various queries to work in PostgreSQL
This involved changes to the driver interface as well as the database
schemata. The most significantly altered queries were for article
selection and marking, which relied upon unusual features of SQLite.
Overall query efficiency should not be adversely affected (it may have
even imprved) in the common case, while very rare cases (not presently
triggered by any REST handlers) require more queries.

One notable benefit of these changes is that functions which query
articles can now have complete control over which columns are returned.
This has not, however, been implemented yet: symbolic column groups are
still used for now.

Note that PostgreSQL still fails many tests, but the test suite runs to
completion. Note also that one line of the Database class is not
covered; later changes will eventually make it easier to cover the line
in question.
2018-12-04 20:41:21 -05:00
..
Context.php Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
Date.php CS fixes and version bump 2018-01-12 09:48:33 -05:00
Query.php Rewrite various queries to work in PostgreSQL 2018-12-04 20:41:21 -05:00
ValueInfo.php Standardize date normalization to immutables 2018-01-02 16:27:58 -05:00