Commit Graph

110 Commits

Author SHA1 Message Date
482f36ea24 Improve the query builder with a helper method 2014-04-01 16:31:08 -04:00
14a4449f3f Simplify and shorten methods to increase code quality 2014-04-01 15:41:38 -04:00
a04b8b44ff Improve code coverage on a few stupid spots 2014-04-01 14:54:38 -04:00
235f93bdc4 Simplify a method in the connection manager 2014-04-01 14:06:49 -04:00
3fd4580721 Remove redundant method 2014-03-31 16:35:02 -04:00
9fbf9cf82a HHVM is required to pass, minor fixes 2014-03-31 16:20:14 -04:00
32a01a66e8 Update docs, composer and README 2014-03-31 16:01:58 -04:00
23c1cf0e5b Improvements for scrutinizer 2014-03-31 12:58:43 -04:00
7cf3c436dd Breakout Query function into its own class 2014-03-31 12:47:07 -04:00
955dc78913 Fix some docblocks 2014-03-28 15:34:48 -04:00
65b10c52c9 Miscellaneous cleanup 2014-03-28 15:16:39 -04:00
b3d3c3f35d Rename interfaces from iFoo to Foo_Interface 2014-03-28 13:38:34 -04:00
e9e03953a7 Moved protected query builder methods to abstract class 2014-03-27 15:46:28 -04:00
5b908f5816 Add abstract class for sql classes to have base limit method 2014-03-26 21:33:58 -04:00
68c640ef0e Update scrutinizer config, and fix HHVM issue 2014-03-26 21:05:52 -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
56c061a7d1 Split _compile method in query_builder class 2014-03-20 11:57:50 -04:00
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
5e464ef158 Remove some dead code, update docs 2014-03-17 19:34:48 -04:00
6defb8d06c Fix broken test by commiting all the files 2014-02-25 13:55:19 -05:00
3c16ca7253 Fix error in < 5.3 in Query Builder 2014-02-21 15:08:00 -05:00
4702ccb2b3 No more skipped tests, and minor update to query formatting 2014-02-21 15:02:41 -05:00
1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
df84a3fe70 Work around MySQL issues in testsuite 2014-02-17 20:10:47 -05:00
6a50404d54 Changes to num_rows function for hhvm 2014-02-17 19:31:06 -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
65ff7d8d03 Remove extraneous quotes from input queries 2014-02-10 15:01:46 -05:00
56ea38ccad Fix some Firebird issues, and make util class available from the Query Builder class 2014-02-10 13:35:57 -05:00
d4e99aa5cd Test and doc updates 2014-02-07 16:53:01 -05:00
8dc2079d43 Add explain method to query builder 2014-02-04 20:59:30 -05:00
6dc9ed0d52 Update copyright for the new year 2014-01-02 12:36:50 -05:00
4678e289aa 100% coverage of Query Builder class, remove some undocumented/unused code. 2013-12-09 19:46:34 -05:00
c53024ae6a Fix some issues with the grouping commands, and greatly expand test coverage 2013-12-06 23:00:32 -05:00
9578e43722 set error mode in pdo constructor 2013-05-29 13:57:08 -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
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
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