Commit Graph

152 Commits

Author SHA1 Message Date
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
b9e2dc46c9 Streamline a few query builder methods 2012-04-30 14:22:27 -04:00
9acb171729 Fix firebird tests 2012-04-24 14:03:54 -04:00
38aadabc9b Test formatting cleanup 2012-04-24 14:00:44 -04:00
1849e2d6a8 Misc tweaks 2012-04-23 13:28:49 -04:00
8fc9a7295d Firebird fixes, moved num_rows() method to db_pdo class 2012-04-20 16:33:40 -04:00
b4c22c59e3 Revert "Extend stdClass for the sake of it"
This reverts commit 5e7a5b53b0.
2012-04-20 15:36:26 -04:00
5e7a5b53b0 Extend stdClass for the sake of it 2012-04-20 15:25:25 -04:00
62a7eaf73d Add package docblock options 2012-04-20 13:17:39 -04:00
845e0fee08 Added class reference in docs folder, improved comment consistency in classes 2012-04-19 11:42:50 -04:00
698837dd02 Implemented backup data methods in mysql and pgsql drivers 2012-04-19 08:59:10 -04:00
5d5588c909 Various tweaks 2012-04-18 16:28:12 -04:00
12f53c5fd5 Split off db_util classes for each driver 2012-04-18 15:53:06 -04:00
5a4f6a3455 Add fetchObject method to Firebird_result class 2012-04-18 11:34:24 -04:00
3c74f243fe Implement more of PDOStatement in Firebird_Result class 2012-04-18 10:39:01 -04:00
f03afaa98b Made Firebird_Result class Extend PDOStatement 2012-04-17 16:57:28 -04:00
16ad8b15d0 Remove pointless ODBC tests 2012-04-17 15:05:36 -04:00
bf162323f0 Implemented 'having' and 'or_having' methods 2012-04-17 14:22:51 -04:00
902b6b7cb3 Implemented count_all_results method in Query Builder 2012-04-17 11:37:39 -04:00
1211ed6347 Update system table method for postgres 2012-04-17 10:56:08 -04:00
66c21338d0 More accurate method of listing tables for postgres 2012-04-17 10:49:38 -04:00
f7d18b19fd Added count_all method to query_builder 2012-04-17 08:29:28 -04:00
49503dfb3d Start of last unimplemented methods 2012-04-16 13:43:41 -04:00
138e236673 Fix mysql get_system_tables method 2012-04-16 10:53:28 -04:00
c4a67e3a1b fix syntax error 2012-04-13 17:39:24 -04:00
9b9ea5aeed Added 'distinct' method to query builder 2012-04-13 16:50:05 -04:00
ebe1b1a647 Rearrange tests, add Settings class tests 2012-04-13 13:48:38 -04:00
e745750eca Update test paths 2012-04-13 13:16:48 -04:00
272dfd62d4 Implement select_max, select_min, select_avg, and select_sum methods in query builder 2012-04-13 12:49:13 -04:00
15e7ef0832 Added 'get_where' method to query builder
Also added prep work for select_* methods
2012-04-13 11:53:11 -04:00
9a34fcffb2 Minor filestructure re-arrangement 2012-04-12 13:44:31 -04:00
b6d6f06ae5 Fix test loading 2012-04-11 11:53:18 -04:00
de34e24325 rearranged tests 2012-04-11 11:48:56 -04:00
d1ff8d2690 Fix mysql tests 2012-04-10 14:14:31 -04:00
71eca1986d fix tests 2012-04-10 14:13:08 -04:00
86fe790f28 Reorganize drivers 2012-04-10 14:06:34 -04:00
76b522f0bd Made get_dbs method abstract 2012-04-03 16:54:33 -04:00
24ce87ca08 Added __call method to query builder 2012-04-02 09:40:16 -04:00
d97312519f Multiple php version tests? 2012-03-23 09:34:29 -04:00
554d666430 Remove echo statement 2012-03-22 16:48:09 -04:00
6974a04ffd fix pgsql tests 2012-03-22 16:46:47 -04:00
6c932bf576 Fix postgres tests? 2012-03-22 16:38:07 -04:00
2355ca3b0d getenv? 2012-03-22 16:33:28 -04:00
514ed88f71 getenv? 2012-03-22 16:28:31 -04:00
a75efa93f1 Lets try posgres 2012-03-22 16:26:17 -04:00
18489b4302 Connect with default username/pass if running on Travis 2012-03-22 16:19:36 -04:00
632427e164 The type is important\! 2012-03-22 16:14:36 -04:00
69995baa6d It connects, right? 2012-03-22 16:12:54 -04:00
3991dbc6a4 Query builder mysql tests 2012-03-22 16:10:12 -04:00
8e6619bda5 Attempt with mysql 2012-03-22 15:59:03 -04:00
94758ecfb5 Fix other path issue 2012-03-22 15:47:31 -04:00
4193f858c9 Fix test paths 2012-03-22 15:43:44 -04:00
d6718b5973 Include simpletest for Travis 2012-03-22 15:17:12 -04:00
4a581b5617 Start of CI config 2012-03-22 15:07:27 -04:00
09f6a249d8 Updated readme with link to php.net 2012-03-19 23:46:00 -04:00
11d8ca1520 Update dREADME 2012-03-19 17:07:54 -04:00
25e278df64 Don't run tests on databases that don't exist 2012-03-19 14:36:57 -04:00
34bb867575 Minor test cleanup 2012-03-19 14:30:13 -04:00
9ed4accc54 Removed query statement output 2012-03-19 13:58:14 -04:00
58719d6ab5 Made db tests less redundant 2012-03-19 13:38:49 -04:00
0c82208694 Autoloader, and beginning of simplified testing 2012-03-19 13:24:36 -04:00
532cecf8a2 Changed Firebird_Result::execute to use the same instance 2012-03-19 12:14:31 -04:00
23538b5c9c Rename firebird driver file 2012-03-19 12:08:52 -04:00
ec0269a78b Fixed mis-spelled constant name 2012-03-19 12:00:32 -04:00
c024e4a5fc Added postgres tests 2012-03-19 10:40:16 -04:00
1178b5704d Fix mysql create_table method 2012-03-15 16:12:20 -04:00
0567c3443f Merge branch 'master' of github.com:aviat4ion/Query 2012-03-15 15:46:49 -04:00
2f4dfd9d9e Added mysql tests 2012-03-15 15:46:04 -04:00
a304ffd134 Overhaul firebird driver to better match PDO interface. 2012-03-15 14:09:45 -04:00