J. King
9304f99032
Make result sets single-use; change savewepoint exceptions
...
- Result sets are now single-use; this is required for PDO drivers (PDO result sets are not rewindable)
- Change savepoint exceptions to be simple database exceptions; codes remain the same
2017-11-05 22:13:44 -05:00
J. King
c393dfc42b
Sundry fixes
...
- Make use of PHP 7's null coalescing operator
- remove use of static property in Lang class
- Improve code coverage slightly
2017-09-05 19:35:14 -04:00
J. King
f7e50fe95d
Passed code through linter
2017-08-29 10:50:31 -04:00
J. King
9c7f4710aa
Fix feed fetching
...
There are almost certainly other bugs; proper tests forthcoming
2017-05-04 14:42:40 -04:00
J. King
458eaac5c6
Tests for listing folders
...
- Fixed checking for existence of parent before listing
- Changed Result->getAll() to return an empty array rather than null for an empty result set
2017-03-31 17:42:28 -04:00
Dustin Wilson
7236020b8b
Changed "NewsSync" to "Arsse"
2017-03-27 23:12:12 -05:00
J. King
485400df2b
Rename Result->get() to Result->getRow
...
It should be slightly clearer what it does
2017-03-09 15:01:18 -05:00
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()
2017-03-09 14:48:42 -05:00
J. King
7687109132
Reorganize Db namespace; alter User ns to match
2017-03-07 18:01:13 -05:00