Commit graph

34 commits

Author SHA1 Message Date
Joby Elliott
40e1d5df26 enable disabling transactions 2022-06-08 11:11:28 -06:00
4018095088
Better transaction handling 2022-06-08 10:28:45 -06:00
11e6e43072
handle PDO exceptions in createSchemaTable 2022-06-06 13:05:38 -06:00
da7660fa20
V1.6 (#3)
* changes to id generation
* handling cases where PDO throws exceptions
2022-06-04 14:13:20 -06:00
Joby Elliott
2f94e2f7eb
Update Factory.php 2020-09-22 09:28:54 -06:00
d5dcb941a4 factory method for checking if environment needs updating 2020-08-29 20:59:27 -06:00
Joby Elliott
16fbacf072
legacy handling
save current schema if no schema is saved for an existing table
2020-08-29 16:23:51 -06:00
Joby Elliott
0d1677a9b4
Schema management (#1)
* saves schemas to database, uses those schemas - still need to finish methods for update/add/remove operations on columns, for updating schemas

* fix for schema table creation

* possible test fixes

* possibly working, dropped some non-integration tests that didn't work with schema changes

* seems working, but still needs schema updating

* mysql's schema updates seem to be working

* mariadb driver tests

* change to how saving schema for createTable works

* very basic tests for schema management

* test that schemas are updated in schema table
2020-08-29 15:28:45 -06:00
bc3fe54e1c updated readme, new Search helper methods 2020-08-28 09:36:21 -06:00
7b125b4d92 SQLite support for virtual columns 2020-08-27 11:42:11 -06:00
5e9b8b0078 cleanup, examples 2020-08-26 11:53:27 -06:00
d99c09e575 exception error mode actually won't work 2020-08-26 09:58:08 -06:00
4bf591804c style fixes, create table fixes, MariaDB fixes 2020-08-26 09:52:25 -06:00
Joby Elliott
45c7053db0 Update Search.php 2020-01-07 18:26:26 +00:00
Joby Elliott
770c413d7f new quote method for strings 2020-01-07 18:15:33 +00:00
Joby Elliott
94a87f91fa adding counting methods 2019-10-17 09:35:31 -06:00
Joby Elliott
39537ba978 Fix for preprocessSearch losing limit/offset 2019-04-01 16:38:58 +00:00
Joby Elliott
fd366a1297 added $sneaky arg to update()
this new argument allows update hooks to be skipped (for example, to 
avoid updating updated date for migration-type tasks)
2019-03-13 12:27:46 -06:00
Joby Elliott
385f6c2b89 Allow instantiation with existing PDOs 2019-03-13 09:50:51 -06:00
ef9cd13b18 Fixed a merge/set bug with falsey values
Also copied the basic FlatArray tests from Flatrr, to help avoid future 
regressions to FlatArray behavior.
2019-01-11 18:41:44 -07:00
Joby Elliott
5f47889800 squelch array to string conversions in JSON_EXTRACT 2018-11-05 13:23:58 -07:00
Joby Elliott
ddce5a8275 PERSISTENT is STORED in MySQL 2018-09-25 11:20:17 -06:00
Joby Elliott
8677ce5857 pick whether virtual columns are persistent or virtual based on primary 2018-09-25 11:07:14 -06:00
Joby Elliott
29559fb18f get more information on failed createTable test 2018-09-25 11:03:41 -06:00
Joby Elliott
1f839dba3b trying to fix MySQL CI 2018-09-25 10:57:29 -06:00
Joby Elliott
e13aca5503 initial commit with primary keys 2018-09-25 10:49:54 -06:00
Joby Elliott
feed01b327 squash mysterious notice coming out of fetchAll() 2018-09-19 15:14:32 -06:00
Joby Elliott
03826b87d6 reorganizing tests 2018-09-14 12:04:28 -06:00
Joby Elliott
d7ee949a6a squelch notice 2018-08-23 16:28:20 -06:00
Joby Elliott
77c54501ce updating DriverFactory map 2018-08-21 19:33:23 -06:00
Joby Elliott
a0f5245beb updating deps 2018-08-18 09:45:55 -06:00
Joby Elliott
1c2a355a5a changing namespace 2018-08-17 16:32:26 -06:00
Joby Elliott
672f0b3177 cleanup
pgsql needs to be developed off on its own feature branch
2018-08-17 12:12:21 -06:00
Joby Elliott
1afd75a350 initial commit 2018-08-17 11:32:10 -06:00