Commit Graph

44 Commits

Author SHA1 Message Date
Timothy Warren 6755818232 Fix some issues with multiple array items in where statements 2014-11-07 12:14:46 -05:00
Timothy Warren 1abd835f47 Attempting some Quercus compatibility, test-suite runs with simpletest as well as PHPUnit 2014-06-09 17:02:14 -04:00
Timothy Warren 993a2aba51 Allow camelCase method calls, update interfaces with missing methods 2014-04-24 14:50:53 -04:00
Timothy Warren aa5aa8eb97 Docblock fixes and more dependency injection 2014-04-23 15:53:16 -04:00
Timothy Warren 74d4a00eef Test improvements 2014-04-08 17:13:41 -04:00
Timothy Warren 4809016c31 Add insert_batch methods to Firebird and SQLite 2014-04-03 13:28:30 -04:00
Timothy Warren e3fdad5206 Namespaces! 2014-04-02 17:08:50 -04:00
Timothy Warren 00374bbde3 Start of pdo_firebird driver 2014-03-01 01:28:42 +00:00
Timothy Warren 620441a9a3 Better test coverage 2014-02-25 13:47:35 -05:00
Timothy Warren 96f55f2ef5 100% code coverage of the base classes 2014-02-18 19:29:58 -05:00
Timothy Warren 1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
Timothy Warren f6d50c678b Fix some test issues and allow persistent database connections 2014-02-18 14:50:20 -05:00
Timothy Warren df84a3fe70 Work around MySQL issues in testsuite 2014-02-17 20:10:47 -05:00
Timothy Warren 5125ac4e31 Convert test suite to use PHPUnit 2014-02-14 22:08:19 -05:00
Timothy Warren bed0d1bb04 Improve code coverage 2014-02-11 14:29:41 -05:00
Timothy Warren 4678e289aa 100% coverage of Query Builder class, remove some undocumented/unused code. 2013-12-09 19:46:34 -05:00
Timothy Warren 7397b95e8b Fix broken tests 2013-12-06 23:37:43 -05:00
Timothy Warren c53024ae6a Fix some issues with the grouping commands, and greatly expand test coverage 2013-12-06 23:00:32 -05:00
Timothy Warren 6dfb94b375 supress stupid error on bad connection test 2013-05-29 14:06:09 -04:00
Timothy Warren 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
Timothy Warren f6bfe414e6 Add insert batch as a function to overwrite in drivers 2013-05-03 13:07:34 -04:00
Timothy Warren 4ee865ac6d Remove insert batch, as it only works for MySQL and Postgres 2013-05-02 12:51:53 -04:00
Timothy Warren c4ec46eae4 Fix sql tests? 2013-05-02 11:59:43 -04:00
Timothy Warren 40c76b2653 Changed invalid methods to return NULL instead of FALSE, added insert_batch 2013-05-01 15:59:23 -04:00
Timothy Warren 842b4b5fd4 Fixed bug with handling functions in select 2013-04-25 08:15:56 -04:00
Timothy Warren 6959b614ab Better query logging 2013-02-28 12:22:55 -05:00
Timothy Warren 0e44bbaf0d Update year 2013-01-02 14:26:42 -05:00
Timothy Warren 5a626629d7 Enable Query() function as a alias function 2012-11-08 20:02:31 -05:00
Timothy Warren 6875de3e7c Create query() method to handle database connections instead of Query_Builder class 2012-11-08 14:28:49 -05:00
Timothy Warren 5ca46798ca Misc typo fixes, fixes #4' 2012-11-07 08:42:34 -05:00
Timothy Warren ee6f946782 Fix out-of-order where/set statements 2012-10-25 00:19:39 +00:00
Timothy Warren 27318506d0 Fix num_rows() method 2012-09-27 17:41:29 +00:00
Timothy Warren 4c546ed3e9 Fix issue with Query_Builder->where_in() method 2012-08-24 16:17:08 +00:00
Timothy Warren a4f730b081 Fixed issue with multiple fields in order_by, removed extranious spaces in SQL generation 2012-08-23 01:17:27 +00:00
Timothy Warren 091484785f Fix new test 2012-07-27 16:08:55 +00:00
Timothy Warren 9d8d07958f Minor tweaks to exceptions 2012-07-27 16:05:29 +00:00
Timothy Warren d9a4b5fbe5 Added exception for invalid drivers 2012-07-26 17:21:24 +00:00
Timothy Warren 38aadabc9b Test formatting cleanup 2012-04-24 14:00:44 -04:00
Timothy Warren 8fc9a7295d Firebird fixes, moved num_rows() method to db_pdo class 2012-04-20 16:33:40 -04:00
Timothy Warren 62a7eaf73d Add package docblock options 2012-04-20 13:17:39 -04:00
Timothy Warren bf162323f0 Implemented 'having' and 'or_having' methods 2012-04-17 14:22:51 -04:00
Timothy Warren 902b6b7cb3 Implemented count_all_results method in Query Builder 2012-04-17 11:37:39 -04:00
Timothy Warren f7d18b19fd Added count_all method to query_builder 2012-04-17 08:29:28 -04:00
Timothy Warren 9b9ea5aeed Added 'distinct' method to query builder 2012-04-13 16:50:05 -04:00