Commit Graph

59 Commits

Author SHA1 Message Date
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 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 6959b614ab Better query logging 2013-02-28 12:22:55 -05:00
Timothy Warren e10eebb302 Removed object references 2013-02-07 16:21:02 -05:00
Timothy Warren 0e44bbaf0d Update year 2013-01-02 14:26:42 -05:00
Timothy Warren 785e5f2e1f Add interfaces 2012-12-18 16:19:52 -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 47d493537e Remove some extra recursion and explicitly call more methods 2012-11-07 20:48:15 -05:00
Timothy Warren 5ca46798ca Misc typo fixes, fixes #4' 2012-11-07 08:42:34 -05:00
Timothy Warren 6ecfb40c87 More cleanup/ refactoring 2012-10-31 20:21:15 +00:00
Timothy Warren 9078e19961 Documenation update and more fat trimming 2012-10-30 16:14:57 +00:00
Timothy Warren 3de38cd953 Some refactoring to eliminate some redundancy 2012-10-30 14:37:32 +00:00
Timothy Warren ee6f946782 Fix out-of-order where/set statements 2012-10-25 00:19:39 +00:00
Timothy Warren b1624e2f95 Remove more references, and update README 2012-10-23 13:40:11 +00:00
Timothy Warren 27318506d0 Fix num_rows() method 2012-09-27 17:41:29 +00:00
Timothy Warren 10de783b14 Fix contributing file, beginning of prefixes 2012-09-25 17:16:36 +00:00
Kieren Eaton 81dcd40daa Fixed AS issue when field names contain 'as' e.g. taskid 2012-09-25 12:52:28 +08:00
Timothy Warren 559f3ab13a Update readme and added 'get_compiled_' methods to query builder 2012-09-13 15:44:57 +00:00
Timothy Warren 92c989e6f8 Add array of executed queries 2012-09-12 13:55:04 +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 90c6760196 Parsed join conditions fixes #2 2012-08-09 16:15:36 +00:00
Timothy Warren 6a89b48fe8 Beginning of query parser 2012-08-02 15:59:11 +00:00
Timothy Warren 84d5bd492b Remove extra argument from exception 2012-07-27 16:11:43 +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 1e71b225c5 Make mysql/postgres drivers compatible with Quercus 2012-07-05 14:19:49 -04:00
Timothy Warren f555b179b4 Optimize foreach loops: 2012-05-14 13:33:41 -04:00
Timothy Warren eb5d30ab21 Improve 'type_list' methods 2012-05-08 15:37:36 -04:00
Timothy Warren e4acfda004 Add list_types abstract method to db_sql class 2012-05-07 16:05:51 -04:00
Timothy Warren 942d21a1b8 Fix tweaks 2012-05-02 12:59:52 -04:00
Timothy Warren dcdf581998 Database connection tweaks 2012-05-02 12:53:34 -04:00
Timothy Warren 31ba0881ea Remove echoing of sql statements 2012-05-01 14:19:34 -04:00
Timothy Warren 790e82729e Improve Quote_ident method of DB_PDO, fixes #3 2012-05-01 14:16:03 -04:00
Timothy Warren 1a4fd0a9af More query builder optimization 2012-05-01 13:45:11 -04:00
Timothy Warren dc0a8b7bc1 More method simplification 2012-04-30 16:06:06 -04:00
Timothy Warren 008e65a872 Simplifiy select_ methods 2012-04-30 15:29:45 -04:00
Timothy Warren cd3255a8a2 Various Query Builder improvements 2012-04-30 14:49:30 -04:00
Timothy Warren baad919dca Fix logic error and update docs 2012-04-30 14:29:22 -04:00
Timothy Warren b9e2dc46c9 Streamline a few query builder methods 2012-04-30 14:22:27 -04:00
Timothy Warren 61156c7907 Better class hierarchy 2012-04-27 16:18:59 -04:00
Timothy Warren 4dac510d70 Make base classes extend StdClass for the sake of organization 2012-04-27 13:12:11 -04:00
Timothy Warren 1849e2d6a8 Misc tweaks 2012-04-23 13:28:49 -04:00
Timothy Warren b4c22c59e3 Revert "Extend stdClass for the sake of it"
This reverts commit 5e7a5b53b0.
2012-04-20 15:36:26 -04:00
Timothy Warren 5e7a5b53b0 Extend stdClass for the sake of it 2012-04-20 15:25:25 -04:00
Timothy Warren 62a7eaf73d Add package docblock options 2012-04-20 13:17:39 -04:00
Timothy Warren 845e0fee08 Added class reference in docs folder, improved comment consistency in classes 2012-04-19 11:42:50 -04:00