Commit Graph

98 Commits

Author SHA1 Message Date
Timothy Warren e9e03953a7 Moved protected query builder methods to abstract class 2014-03-27 15:46:28 -04:00
Timothy Warren 5b908f5816 Add abstract class for sql classes to have base limit method 2014-03-26 21:33:58 -04:00
Timothy Warren 68c640ef0e Update scrutinizer config, and fix HHVM issue 2014-03-26 21:05:52 -04:00
Timothy Warren 846e68acc4 Add interface for pdo drivers to enforce the same interface on the Firebird driver 2014-03-26 20:49:33 -04:00
Timothy Warren 56c061a7d1 Split _compile method in query_builder class 2014-03-20 11:57:50 -04:00
Timothy Warren b6192e6c0a More appeasement of scrutinizer-ci 2014-03-17 19:52:43 -04:00
Scrutinizer Auto-Fixer 2b4154a91b Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/timw4mail/Query/inspections/89ed2aa4-7aae-45bb-9289-ebb27a60ef13

Enabled analysis tools:
 - PHP Analyzer
 - PHP Copy/Paste Detector
 - PHP PDepend
2014-03-18 00:35:25 +01:00
Timothy Warren 5e464ef158 Remove some dead code, update docs 2014-03-17 19:34:48 -04:00
Timothy Warren 6defb8d06c Fix broken test by commiting all the files 2014-02-25 13:55:19 -05:00
Timothy Warren 3c16ca7253 Fix error in < 5.3 in Query Builder 2014-02-21 15:08:00 -05:00
Timothy Warren 4702ccb2b3 No more skipped tests, and minor update to query formatting 2014-02-21 15:02:41 -05:00
Timothy Warren 1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
Timothy Warren df84a3fe70 Work around MySQL issues in testsuite 2014-02-17 20:10:47 -05:00
Timothy Warren 6a50404d54 Changes to num_rows function for hhvm 2014-02-17 19:31:06 -05:00
Timothy Warren 5125ac4e31 Convert test suite to use PHPUnit 2014-02-14 22:08:19 -05:00
Timothy Warren 4cb7c97c60 Minor query formatting changes 2014-02-14 10:38:25 -05:00
Timothy Warren bed0d1bb04 Improve code coverage 2014-02-11 14:29:41 -05:00
Timothy Warren 65ff7d8d03 Remove extraneous quotes from input queries 2014-02-10 15:01:46 -05:00
Timothy Warren 56ea38ccad Fix some Firebird issues, and make util class available from the Query Builder class 2014-02-10 13:35:57 -05:00
Timothy Warren d4e99aa5cd Test and doc updates 2014-02-07 16:53:01 -05:00
Timothy Warren 8dc2079d43 Add `explain` method to query builder 2014-02-04 20:59:30 -05:00
Timothy Warren 6dc9ed0d52 Update copyright for the new year 2014-01-02 12:36:50 -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 c53024ae6a Fix some issues with the grouping commands, and greatly expand test coverage 2013-12-06 23:00:32 -05:00
Timothy Warren 9578e43722 set error mode in pdo constructor 2013-05-29 13:57:08 -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 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
Timothy Warren 13a37e10f2 Remove some references, and add autoload parameter to composer.json 2012-09-25 14:16:01 +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