Commit Graph

220 Commits

Author SHA1 Message Date
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
a04b8b44ff Improve code coverage on a few stupid spots 2014-04-01 14:54:38 -04:00
32a01a66e8 Update docs, composer and README 2014-03-31 16:01:58 -04:00
7cf3c436dd Breakout Query function into its own class 2014-03-31 12:47:07 -04:00
22f28b766b Remove PDO_Firebird driver 2014-03-26 20:54:40 -04:00
846e68acc4 Add interface for pdo drivers to enforce the same interface on the Firebird driver 2014-03-26 20:49:33 -04:00
5e464ef158 Remove some dead code, update docs 2014-03-17 19:34:48 -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
1e5d941eb4 Update docs 2014-02-25 11:33:18 -05:00
4702ccb2b3 No more skipped tests, and minor update to query formatting 2014-02-21 15:02:41 -05:00
81692053ed Better Firebird test coverage 2014-02-20 11:00:18 -05:00
003991659a Fix failing test on HHVM 2014-02-20 10:31:54 -05:00
484548dc49 Remove PHP 5.2 from testing 2014-02-19 13:45:05 -05:00
0b6a3aeef5 Fix test broken by invalid test parameters 2014-02-18 19:45:08 -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
deb9237532 Fix coverage by moving phpunit folder back into tests 2014-02-17 21:48:08 -05:00
df84a3fe70 Work around MySQL issues in testsuite 2014-02-17 20:10:47 -05:00
348967d17a Skip QB tests for Postgres if the class isn't loaded 2014-02-17 19:34:47 -05:00
2465941fdf Skip Postgres tests if the class isn't loaded 2014-02-17 19:12:53 -05:00
fa3c3efb38 Move phpunit xml file into a sane place 2014-02-17 17:07:17 -05:00
a443bbc86d Fix Firebird loading issue for tests 2014-02-14 22:52:56 -05:00
fabedc1d7f Add include for Firebird class so that testsuite works 2014-02-14 22:30:28 -05:00
8da96c7c2f Another go 2014-02-14 22:27:01 -05:00
5125ac4e31 Convert test suite to use PHPUnit 2014-02-14 22:08:19 -05:00
4cb7c97c60 Minor query formatting changes 2014-02-14 10:38:25 -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
7c0b951539 More firebird coverage 2014-02-07 15:43:25 -05:00
29f824b562 Reorganize sqlite tests and improve coverage 2014-02-07 14:18:08 -05:00
1e31196dee Add another test and try again 2014-02-06 17:07:29 -05:00
c07a4fcf14 Update sqlite test for explain, attempt firebird tests on Travis CI 2014-02-06 16:48:52 -05:00
8d7b73a9a3 Tracking down a test bug for sqlite 2014-02-06 16:15:23 -05:00
8dc2079d43 Add explain method to query builder 2014-02-04 20:59:30 -05:00
73d6e72afc Improve test coverage of sql driver 2013-12-09 20:11:49 -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
9578e43722 set error mode in pdo constructor 2013-05-29 13:57:08 -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
e10eebb302 Removed object references 2013-02-07 16:21:02 -05:00
0e44bbaf0d Update year 2013-01-02 14:26:42 -05:00
785e5f2e1f Add interfaces 2012-12-18 16:19:52 -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
47d493537e Remove some extra recursion and explicitly call more methods 2012-11-07 20:48:15 -05:00
60d5d99ee3 Fix test prefix 2012-11-07 08:46:04 -05:00
5ca46798ca Misc typo fixes, fixes #4' 2012-11-07 08:42:34 -05:00
6ecfb40c87 More cleanup/ refactoring 2012-10-31 20:21:15 +00:00
9078e19961 Documenation update and more fat trimming 2012-10-30 16:14:57 +00:00
3de38cd953 Some refactoring to eliminate some redundancy 2012-10-30 14:37:32 +00:00
ee6f946782 Fix out-of-order where/set statements 2012-10-25 00:19:39 +00:00
b1624e2f95 Remove more references, and update README 2012-10-23 13:40:11 +00:00
27318506d0 Fix num_rows() method 2012-09-27 17:41:29 +00:00
10de783b14 Fix contributing file, beginning of prefixes 2012-09-25 17:16:36 +00:00
13a37e10f2 Remove some references, and add autoload parameter to composer.json 2012-09-25 14:16:01 +00:00
559f3ab13a Update readme and added 'get_compiled_' methods to query builder 2012-09-13 15:44:57 +00:00
92c989e6f8 Add array of executed queries 2012-09-12 13:55:04 +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
6e76493562 Add composer.json file 2012-07-17 14:45:52 -04:00
1e71b225c5 Make mysql/postgres drivers compatible with Quercus 2012-07-05 14:19:49 -04:00
7649f75cac switch from pdo_drivers to PDO::getAvailableDrivers 2012-07-03 13:00:17 -04:00
78c10d0825 Update docs 2012-06-05 15:06:23 -04:00
121dfd1401 Remove unrelated classes and tests 2012-05-31 09:48:17 -04:00
2b0d1c207e Fix CI tests 2012-05-29 16:34:45 -04:00
35b21c31a5 Adjust autoloader 2012-05-29 14:52:27 -04:00
2c67dd03cc Set up autoloader 2012-05-21 15:18:06 -04:00
257609168e implemented mysql backup methods 2012-05-15 13:35:59 -04:00
f555b179b4 Optimize foreach loops: 2012-05-14 13:33:41 -04:00
bf3b072124 change db_filter function to use less memory 2012-05-14 12:34:12 -04:00
3da9cd9c19 Added more meta-information methods, with tests 2012-05-09 13:54:38 -04:00
eb5d30ab21 Improve 'type_list' methods 2012-05-08 15:37:36 -04:00
db1490c016 Partially implement type_list method 2012-05-08 08:31:57 -04:00
e4acfda004 Add list_types abstract method to db_sql class 2012-05-07 16:05:51 -04:00
942d21a1b8 Fix tweaks 2012-05-02 12:59:52 -04:00
dcdf581998 Database connection tweaks 2012-05-02 12:53:34 -04:00
31ba0881ea Remove echoing of sql statements 2012-05-01 14:19:34 -04:00
790e82729e Improve Quote_ident method of DB_PDO, fixes #3 2012-05-01 14:16:03 -04:00
1a4fd0a9af More query builder optimization 2012-05-01 13:45:11 -04:00
f43e3c7ccf Remove uneeded sqlite file 2012-04-30 16:08:49 -04:00
dc0a8b7bc1 More method simplification 2012-04-30 16:06:06 -04:00
008e65a872 Simplifiy select_ methods 2012-04-30 15:29:45 -04:00
cd3255a8a2 Various Query Builder improvements 2012-04-30 14:49:30 -04:00
baad919dca Fix logic error and update docs 2012-04-30 14:29:22 -04:00