Commit Graph

54 Commits

Author SHA1 Message Date
32696a53ff Flesh out the table builder a bit, and add some missing driver methods to SQLite 2014-04-10 15:54:43 -04:00
74d4a00eef Test improvements 2014-04-08 17:13:41 -04:00
d06a3eda0d Add method to get indexes for the current table 2014-04-08 14:26:28 -04:00
2af3b0be9f Add method to retrieve foreign keys for a table to driver classes 2014-04-07 16:49:49 -04:00
4809016c31 Add insert_batch methods to Firebird and SQLite 2014-04-03 13:28:30 -04:00
e3fdad5206 Namespaces! 2014-04-02 17:08:50 -04:00
02d4e0e52e improve query builder and connection manager, skip coverage of some soon-to-be-removed methods 2014-04-02 10:31:59 -04:00
00374bbde3 Start of pdo_firebird driver 2014-03-01 01:28:42 +00:00
620441a9a3 Better test coverage 2014-02-25 13:47:35 -05:00
4702ccb2b3 No more skipped tests, and minor update to query formatting 2014-02-21 15:02:41 -05:00
484548dc49 Remove PHP 5.2 from testing 2014-02-19 13:45:05 -05:00
96f55f2ef5 100% code coverage of the base classes 2014-02-18 19:29:58 -05:00
1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
f6d50c678b Fix some test issues and allow persistent database connections 2014-02-18 14:50:20 -05:00
df84a3fe70 Work around MySQL issues in testsuite 2014-02-17 20:10:47 -05:00
5125ac4e31 Convert test suite to use PHPUnit 2014-02-14 22:08:19 -05:00
bed0d1bb04 Improve code coverage 2014-02-11 14:29:41 -05:00
d4e99aa5cd Test and doc updates 2014-02-07 16:53:01 -05:00
4678e289aa 100% coverage of Query Builder class, remove some undocumented/unused code. 2013-12-09 19:46:34 -05:00
7397b95e8b Fix broken tests 2013-12-06 23:37:43 -05:00
c53024ae6a Fix some issues with the grouping commands, and greatly expand test coverage 2013-12-06 23:00:32 -05:00
6dfb94b375 supress stupid error on bad connection test 2013-05-29 14:06:09 -04:00
cd338e5aea update tests
Assume mysql is installed rather than postgres. Sqlite can not be
assumed because it will create a database if none exists.
2013-05-29 12:23:49 -04:00
f6bfe414e6 Add insert batch as a function to overwrite in drivers 2013-05-03 13:07:34 -04:00
4ee865ac6d Remove insert batch, as it only works for MySQL and Postgres 2013-05-02 12:51:53 -04:00
c4ec46eae4 Fix sql tests? 2013-05-02 11:59:43 -04:00
40c76b2653 Changed invalid methods to return NULL instead of FALSE, added insert_batch 2013-05-01 15:59:23 -04:00
842b4b5fd4 Fixed bug with handling functions in select 2013-04-25 08:15:56 -04:00
6959b614ab Better query logging 2013-02-28 12:22:55 -05:00
0e44bbaf0d Update year 2013-01-02 14:26:42 -05:00
5a626629d7 Enable Query() function as a alias function 2012-11-08 20:02:31 -05:00
6875de3e7c Create query() method to handle database connections instead of Query_Builder class 2012-11-08 14:28:49 -05:00
5ca46798ca Misc typo fixes, fixes #4' 2012-11-07 08:42:34 -05:00
ee6f946782 Fix out-of-order where/set statements 2012-10-25 00:19:39 +00:00
27318506d0 Fix num_rows() method 2012-09-27 17:41:29 +00:00
4c546ed3e9 Fix issue with Query_Builder->where_in() method 2012-08-24 16:17:08 +00:00
a4f730b081 Fixed issue with multiple fields in order_by, removed extranious spaces in SQL generation 2012-08-23 01:17:27 +00:00
90c6760196 Parsed join conditions fixes #2 2012-08-09 16:15:36 +00:00
6a89b48fe8 Beginning of query parser 2012-08-02 15:59:11 +00:00
091484785f Fix new test 2012-07-27 16:08:55 +00:00
9d8d07958f Minor tweaks to exceptions 2012-07-27 16:05:29 +00:00
d9a4b5fbe5 Added exception for invalid drivers 2012-07-26 17:21:24 +00:00
7649f75cac switch from pdo_drivers to PDO::getAvailableDrivers 2012-07-03 13:00:17 -04:00
121dfd1401 Remove unrelated classes and tests 2012-05-31 09:48:17 -04:00
3da9cd9c19 Added more meta-information methods, with tests 2012-05-09 13:54:38 -04:00
38aadabc9b Test formatting cleanup 2012-04-24 14:00:44 -04:00
8fc9a7295d Firebird fixes, moved num_rows() method to db_pdo class 2012-04-20 16:33:40 -04:00
62a7eaf73d Add package docblock options 2012-04-20 13:17:39 -04:00
5d5588c909 Various tweaks 2012-04-18 16:28:12 -04:00
bf162323f0 Implemented 'having' and 'or_having' methods 2012-04-17 14:22:51 -04:00