12 Commits

Author SHA1 Message Date
Nick Hall
63bb36ea44 Reorganise DBAPI plugins
Add SQLite and PostgreSQL plugins.
Remove DBAPI and InMemoryDb plugins.
2017-07-28 23:42:55 +01:00
Nick Hall
352d6fc558 Convert handle type to str in the database API (#405)
The mixed type of handles has been a constant source of bugs.
Converting them all to str in the database API should make
maintenance easier. The key to BSDDB tables must still be bytes
in the database layer.
2017-05-30 00:19:42 +01:00
Nick Hall
3e69fa5cbe Fix get_total method and add unit tests 2016-12-06 17:32:12 +00:00
Nick Hall
35b7495438 9541: Make metadata methods protected 2016-12-06 17:10:07 +00:00
Nick Hall
27c2b0c81d 9748: Use COLLATE clause rather than locale specific columns 2016-11-30 23:13:12 +00:00
Nick Hall
11942d8975 Add database unit tests for sorted handles 2016-11-29 22:30:11 +00:00
Nick Hall
382987f366 Create module for database utilities 2016-11-24 17:57:18 +00:00
Nick Hall
ab4e147021 Add more database unit tests 2016-10-29 22:12:28 +01:00
Nick Hall
9fc316abdf 9744: Tidy up iterators
Remove order_by parameter.
Add unit tests.
2016-10-28 21:43:00 +01:00
Nick Hall
ddce9b0138 Add more database unit tests 2016-10-25 23:01:34 +01:00
Nick Hall
f036206961 9742: Rewrite cursors to avoid using table maps 2016-10-25 21:29:59 +01:00
Nick Hall
5fcb3ef815 Add some database unit tests 2016-10-23 19:40:14 +01:00