v0.4.2
What's Changed?
- Several bug fixes
insert()
was not marking the record as hydratedinsert()
was assuming that all primary keys were ints (or rowids)- Redid some logic on
save()
to check for a primary key if supplied, and also a hydrated record. It was improperly checking for insert before.
- Now you can use text based primary keys! You just need to supply the key before the insert takes place either by assigning it to the record
$MyRecord->my_text_pk
or in abeforeInsert()
method.
Full Changelog: v0.4.1...v0.4.2