Dustin Wilson
7236020b8b
Changed "NewsSync" to "Arsse"
7 years ago
J. King
b821d728e4
Add rest dependency; fix SQLite function def
7 years ago
J. King
6413d3a489
Re-order SQLite3 driver initialization
Should handle error reporting better
7 years ago
Dustin Wilson
bb8af5a62c
Added Custom Functions into Db/SQLite3/Driver
• Created Db/SQLite3/CustomFunctions to house the dateFormat custom
function and potentially others in the future.
• Fixed a typo in Db/SQLite3/Driver
7 years ago
J. King
18c8076a0f
Database update tests
7 years ago
J. King
485400df2b
Rename Result->get() to Result->getRow
It should be slightly clearer what it does
7 years ago
J. King
bdf3182305
Add result->lastId method; cleanup
- Result->lastId() added as MySQL and PostgreSQL have equivalent functionality
- Adjusted tests accordingly
- Cleaned up Database class to make use of this and getAll()
7 years ago
J. King
a3e2da1d36
Flesh out most database exceptions
- Fixes #46
- Some exception messages are tentative pending testing
7 years ago
J. King
7c1df71acd
Make db throw specific exceptions
Needs testing and fleshing out; not all exception codes and messages have been defined
7 years ago
J. King
fa247b34f6
Reduce the number of database exception types
7 years ago
J. King
7687109132
Reorganize Db namespace; alter User ns to match
7 years ago