Commit Graph

135 Commits

Author SHA1 Message Date
Timothy Warren 3f7236c706 Started query queue with like method 2012-03-13 20:04:18 -04:00
Timothy Warren 9aad56fafe Implemented random ordering for databases that support it 2012-03-13 18:53:32 -04:00
Timothy Warren 3767956481 Added random function syntax to each driver 2012-03-13 18:40:51 -04:00
Timothy Warren 382664ff6d Added order_by method to query builder 2012-03-13 14:57:01 -04:00
Timothy Warren f83e93541c Query builder delete tests 2012-03-13 13:38:47 -04:00
Timothy Warren 1d30e2be71 Update and Insert tests 2012-03-13 12:57:12 -04:00
Timothy Warren 0022126b96 sqlite insert test 2012-03-13 12:28:51 -04:00
Timothy Warren 15672b6928 Implemented Insert method in query builder 2012-03-13 10:13:57 -04:00
Timothy Warren be46ca3f90 Reorganize query_builder method order 2012-03-12 16:17:30 -04:00
Timothy Warren d74e1907dd Added truncate tests to firebird/sqlite test suites 2012-03-12 16:09:12 -04:00
Timothy Warren 9d33c5e8f0 Generalized query_builder '_reset' method 2012-03-12 15:46:55 -04:00
Timothy Warren 0eb9de2ba6 Implement set method 2012-03-12 15:28:52 -04:00
Timothy Warren 1371ea7af5 Added at least one test to every test suite. 2012-03-12 11:17:49 -04:00
Timothy Warren 232de2f92c Test reorganization 2012-03-09 16:30:33 -05:00
Timothy Warren 80a878d16e Split query builder tests 2012-03-09 16:17:21 -05:00
Timothy Warren 6e454f4585 Added limit method to query builder 2012-03-09 15:55:56 -05:00
Timothy Warren ab194c0ee8 Added 'from' method to query_builder 2012-03-09 14:27:13 -05:00
Timothy Warren 0654b94793 Move QB tests into their own test cases, remove create/delete table tests 2012-03-09 13:42:02 -05:00
Timothy Warren f8153dcdf8 Speed up unit tests 2012-03-09 13:15:56 -05:00
Timothy Warren c61df13fbc Fix get-where tests 2012-03-09 12:52:35 -05:00
Timothy Warren 6b6660585c Query builder 'where' method 2012-03-09 11:56:14 -05:00
Timothy Warren 913993c963 Fix tests 2012-03-09 08:26:16 -05:00
Timothy Warren 6bd17a2150 SQLite Test, FIx syntax error 2012-03-09 08:10:37 -05:00
Timothy Warren 80b77487eb Various cleanup 2012-03-08 13:29:30 -05:00
Timothy Warren 0856de65fc Some Query Builder tests 2012-03-08 12:37:33 -05:00
Timothy Warren 1cbfb0a0e3 Query builder firebird tests 2012-03-08 09:15:42 -05:00
Timothy Warren 5e9bd131d1 added hostname to firebird test connection 2012-03-07 21:02:47 -05:00
Timothy Warren 7bc8bce9fa More file rearrangement, some scaffolding for query_builder class 2012-03-07 16:52:51 -05:00
Timothy Warren 7568afefa6 Revert "Firebird exceptions"
This reverts commit e89a2cedba.
2012-03-07 15:21:44 -05:00
Timothy Warren e89a2cedba Firebird exceptions 2012-03-07 14:50:45 -05:00
Timothy Warren c8c5650156 Remove debugging statement 2012-03-07 08:08:41 -05:00
Timothy Warren d555412826 Firebird driver now throws PDOException 2012-03-06 21:32:49 -05:00
Timothy Warren 83e949d7f2 Removed native pdo firebird driver 2012-03-06 21:07:34 -05:00
Timothy Warren 4ee3c3ea43 More sqlite tests 2012-03-06 16:57:43 -05:00
Timothy Warren 9d2ceb49e6 More Firebird tests 2012-03-06 16:53:40 -05:00
Timothy Warren 6fc5d5d9db Revert "Firebird refactoring"
This reverts commit 46771a7725.
2012-03-06 16:20:59 -05:00
Timothy Warren 46771a7725 Firebird refactoring 2012-03-06 15:54:59 -05:00
Timothy Warren e3fefa1aca Fixed part of firebird tests with native driver 2012-03-05 16:14:35 -05:00
Timothy Warren c481827935 Fixed a path issue 2012-03-05 15:18:17 -05:00
Timothy Warren 4ec361ea18 Added PDO-native firebird driver
Renamed ibase_* based driver to firebird-ibase.php
2012-03-05 15:15:27 -05:00
Timothy Warren 7859c6ff2d Fix tests broken by bad reference placement 2012-03-05 13:02:39 -05:00
Timothy Warren 8886218c66 More Query Builder additions 2012-03-01 12:05:32 -05:00
Timothy Warren adcaa52b40 More directory re-arrangement 2012-02-29 16:14:21 -05:00
Timothy Warren 5f6dfd9020 Remove superfluous sqlite test file 2012-02-29 15:26:01 -05:00
Timothy Warren a9c9ff14cb Remove unecessary sqlite test file 2012-02-29 15:25:35 -05:00
Timothy Warren 62f5d05849 Started query builder class, renamed _manip classes to _sql 2012-02-29 14:36:42 -05:00
Timothy Warren da6d485785 Firebird test tweak 2012-02-29 08:57:43 -05:00
Timothy Warren fde790b8cb Fixed firebird driver 2012-02-28 22:45:32 -05:00
Timothy Warren d3d8e2e1af Minor formatting changes 2012-02-28 22:07:13 -05:00
Timothy Warren 642b17b28f Fix backup_data method for Firebird driver 2012-02-28 20:53:16 -05:00
Timothy Warren 105a086603 Implemented quote and backup_data methods in firebird driver 2012-02-28 20:44:14 -05:00
Timothy Warren dec1a1714f added backup_structure and backup_data methods to db classes 2012-02-28 16:02:37 -05:00
Timothy Warren f10f3f13f4 Removed source folder 2012-02-28 14:58:52 -05:00
Timothy Warren d29d433d3c Various db class improvements, more SQLite tests 2012-02-28 12:28:56 -05:00
Timothy Warren 9b6306a713 Fix failing sqlite test 2012-02-28 11:30:24 -05:00
Timothy Warren dda089bfc6 Moved datagrid to widgets 2012-02-24 14:18:34 -05:00
Timothy Warren 89a014685d Fixed prepared statements in Firebird driver 2012-02-23 11:26:08 -05:00
Timothy Warren 6a60b32ef0 Firebird Prepared Statement test 2012-02-23 09:25:10 -05:00
Timothy Warren f335fa744d Fixed misnamed tests 2012-02-22 09:37:14 -05:00
Timothy Warren 70317994c7 Fixed table escaping issue in Firebird driver 2012-02-13 16:17:36 -05:00
Timothy Warren 043f88691c DB Test Updates 2012-02-13 13:46:53 -05:00
Timothy Warren f6e08d8765 Firebird updates 2012-02-10 17:57:10 -05:00
Timothy Warren 13e3c3f807 Firebird test fixes - Not sure why the create table test fails - the table is created 2012-02-10 15:09:39 -05:00
Timothy Warren bf0001ad7d Added get_system_tables function to db classes, added _manip subclasses to mysql and pgsql 2012-02-10 13:13:19 -05:00
Timothy Warren 438f50b4de Db permissions 2012-02-09 15:46:47 -05:00
Timothy Warren 49dc7fad11 Fix Firebird Tests, update README 2012-02-09 12:00:39 -05:00
Timothy Warren c36cd13dd6 Added another link to dev guide 2012-02-08 17:32:40 -05:00
Timothy Warren 9f6222500a Fix test db permissions, disable firebird tests for now 2012-02-08 15:39:41 -05:00
Timothy Warren 11060a2771 Firebird tests, added dev guide 2012-02-08 15:05:28 -05:00
Timothy Warren d8b4424c0f Added create_table method to firebird_manip class 2012-02-08 13:42:49 -05:00
Timothy Warren acef1818ae Permission fixing for test dbs 2012-02-08 10:39:22 -05:00
Timothy Warren 5fbcd5fe04 Creating/Deleting SQLite tables works 2012-02-08 09:01:51 -05:00
Timothy Warren dc6c9bf141 SQLite tests 2012-02-07 20:31:36 -05:00
Timothy Warren 9ddab65bc0 Fixed create_database function signature, fixed typo in README 2012-02-07 16:23:41 -05:00
Timothy Warren 4182776c21 Split database manipulation classes from database classes 2012-02-07 15:27:33 -05:00
Timothy Warren ee4c537fc3 Update README 2012-02-07 11:21:37 -05:00
Timothy Warren 87b5c2aede A little test cleanup 2012-02-07 08:45:56 -05:00
Timothy Warren 444a8a1778 Fix broken paths to test databases 2012-02-07 08:31:01 -05:00
Timothy Warren d3fd23af59 Some db sanity checks 2012-02-07 08:18:38 -05:00
Timothy Warren 7f084e9438 Fixed test fatal error due to misisng class 2012-02-06 22:05:53 -05:00
Timothy Warren 87b55c11db Fixed warning in test 2012-02-06 22:04:03 -05:00
Timothy Warren 6180c4816f Load db tests based on php capabilities 2012-02-06 21:59:34 -05:00
Timothy Warren a412294d76 Firebird improvements, added sqlite and firebird databases for testing 2012-02-06 19:18:44 -05:00
Timothy Warren 9808bdcbac Added some unit tests 2012-02-02 19:04:10 -05:00
Timothy Warren c85f791de5 Lots of updates
Added mention of Mariadb to read me, made db_pdo an abstract class,
created manip_subclasses for database drivers, created start of unit
tests.
2012-02-02 17:43:15 -05:00