Commit Graph

65 Commits

Author SHA1 Message Date
Timothy Warren 6a38213a62 Improve some tests and docblocks 2014-04-28 16:41:46 -04:00
Timothy Warren 2ae38bea88 Remove some variable setting logic duplication 2014-04-24 20:14:19 -04:00
Timothy Warren 81be910014 Split Query Builder class 2014-04-24 17:07:50 -04:00
Timothy Warren 5b531cf588 De-duplicate truncate method of drivers 2014-04-24 16:25:04 -04:00
Timothy Warren 17354ee87e Move SQL and Util classes to their own namespaces 2014-04-24 15:32:09 -04:00
Timothy Warren 993a2aba51 Allow camelCase method calls, update interfaces with missing methods 2014-04-24 14:50:53 -04:00
Timothy Warren ff77cea041 Remove __call method from util classes 2014-04-24 13:42:01 -04:00
Timothy Warren 0baf624e8b Fix a few spelling mistakes 2014-04-24 11:31:03 -04:00
Timothy Warren 6b814c06a0 Remove some duplication 2014-04-23 17:03:46 -04:00
Timothy Warren fddd92a375 Fix some more docblocks 2014-04-23 16:27:43 -04:00
Timothy Warren aa5aa8eb97 Docblock fixes and more dependency injection 2014-04-23 15:53:16 -04:00
Timothy Warren 0a64edd453 Fix some typos and docblocks 2014-04-22 14:02:54 -04:00
Timothy Warren d6c0fd23dc Add update and delete rules to foreign key methods 2014-04-17 16:41:12 -04:00
Timothy Warren 80595dfbbe Update foreign key driver methods to return the same kind of information 2014-04-15 16:15:08 -04:00
Timothy Warren 32696a53ff Flesh out the table builder a bit, and add some missing driver methods to SQLite 2014-04-10 15:54:43 -04:00
Timothy Warren 3cc260b779 Deduplicate error methods in Firebird_Result class 2014-04-09 13:20:30 -04:00
Timothy Warren fde92bcb50 Fix a few code quality issues 2014-04-09 10:55:17 -04:00
Timothy Warren 85b804adaa Update drivers with missing method 2014-04-08 14:43:07 -04:00
Timothy Warren 2af3b0be9f Add method to retrieve foreign keys for a table to driver classes 2014-04-07 16:49:49 -04:00
Timothy Warren 3eeea75b54 Cut down on some duplication, and increase test coverage 2014-04-03 16:49:01 -04:00
Timothy Warren a3339200f0 Rename db_util to abstract_util, mark create_table method as deprecated 2014-04-03 14:44:03 -04:00
Timothy Warren 4809016c31 Add insert_batch methods to Firebird and SQLite 2014-04-03 13:28:30 -04:00
Timothy Warren e3fdad5206 Namespaces! 2014-04-02 17:08:50 -04:00
Timothy Warren 5bc366c977 Code improvements 2014-04-02 15:11:46 -04:00
Timothy Warren 02d4e0e52e improve query builder and connection manager, skip coverage of some soon-to-be-removed methods 2014-04-02 10:31:59 -04:00
Timothy Warren 3fd4580721 Remove redundant method 2014-03-31 16:35:02 -04:00
Timothy Warren 32a01a66e8 Update docs, composer and README 2014-03-31 16:01:58 -04:00
Timothy Warren 23c1cf0e5b Improvements for scrutinizer 2014-03-31 12:58:43 -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 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 af73f80558 Remove pointless constructor over-riding 2014-03-20 11:20:30 -04:00
Timothy Warren df5b4b9034 Fix more code quality issues 2014-03-17 20:12:58 -04:00
Timothy Warren 0ae237ab33 Merge pull request #2 from timw4mail/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2014-03-17 19:45:55 -04:00
Timothy Warren 97730f0002 Fix some code quality issues 2014-03-17 19:45:41 -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 620441a9a3 Better test coverage 2014-02-25 13:47:35 -05:00
Timothy Warren 1095e85762 Fix some docblocks, and update test files to 2014 2014-02-18 15:18:01 -05:00
Timothy Warren f6d50c678b Fix some test issues and allow persistent database connections 2014-02-18 14:50:20 -05:00
Timothy Warren bed0d1bb04 Improve code coverage 2014-02-11 14:29:41 -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 7c0b951539 More firebird coverage 2014-02-07 15:43:25 -05:00
Timothy Warren cc49bcfbaa Fix Firebird test connection issue 2014-02-06 16:09:47 -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 f6bfe414e6 Add insert batch as a function to overwrite in drivers 2013-05-03 13:07:34 -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 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 5ca46798ca Misc typo fixes, fixes #4' 2012-11-07 08:42:34 -05:00