This repository was archived by the owner on May 12, 2022. It is now read-only.
Releases: brokencube/automatorm
Releases · brokencube/automatorm
Minor Bug
Minor bug fix for Internal Cache clearing: Cannot unset static variables -> set to blank array instead!
Moved to PSR-4
Main version bump, just in case
3.12.0.0
Adding support for Unix Sockets in Database connection
3.11.1.0
Disallowing __set() on collections
M-M Fix for duplicate entries
Adding "INSERT IGNORE" into Query Builder. Fixing bug where M-M joins which get pushed duplicate items cause SQL Contraint errors
Improvements to PartialResults and Dump
PartialResults now no longer have to resolve model objects to resolve column data.
Dump output improved to limit number of Model objects created.
Bugfix
3.9.0.1 Fixing error with detecting incorrect Models passed to __set where co…
Additional Checking when setting foreign key columns
If you use the shorthand foreign key assignment:
$db = Table::newData();
$db->account = Account::get(1);
$db->commit;
Automatorm will now check that the passed object (Account::get(1)
) refers to the same table as the foreign key ($db->account
). If there is a mismatch, an exception will be thrown.
Bugfix release
3.8.0.1 Incorrect variable name from last commit :(
3.8.0.0: Fixing Collection to have $affix'es instead of $prefix'es.
- Also handling $affixes that are currently not implemented outside of SQL (# and %)