Skip to content

Releases: phpfui/ORM

Table::find() is now specific to the table

05 Mar 20:14
Compare
Choose a tag to compare
  • find() adds the table name for where condition
  • Support for PHPUnit 11

Better @property tags for related records

28 Feb 03:22
Compare
Choose a tag to compare

Auto generated related record @Property tags where wrong for ID suffixes that were not 2 characters.

Set ManyToMany and MorphMany

23 Feb 23:29
Compare
Choose a tag to compare
  • Added support for assigning a ManyToMany relationship with a simple assignment statement.
  • Support for MorphMany relationships like Eloquent supports
  • Updated actions to V4

Construct Record from DataObject should not be empty

13 Jan 02:47
Compare
Choose a tag to compare

Also updated documentation on Condition

insertOrUpdate default values

23 Dec 00:24
Compare
Choose a tag to compare

Fixed updating fields with default values on update section of insertOrUpdate

Stricter Types

11 Dec 23:53
Compare
Choose a tag to compare
  • IN and NOTIN operator classes now require an array
  • Table::updateFromTable only update provided fields

PHP 8.3

23 Nov 15:22
Compare
Choose a tag to compare
V1.5.4

PHP 8.3

Explain support

16 Nov 20:02
Compare
Choose a tag to compare
  • Added \PHPFUI\ORM\Table::getExplainRows to return the database dependent query information
  • SQL statements now have better pretty printing for human readability.

insertOrUpdate does not zero primary key on update

19 Oct 15:11
Compare
Choose a tag to compare
  • insertOrUpdate no longer sets the primary key of the updated record to zero.
  • Better RelatedRecord class to accommodate non-standard naming conventions with the ability to pass the field to use.

Construct Record from DataObject

30 Sep 19:37
Compare
Choose a tag to compare
  • Provide an easy way to convert an untyped DataObject to a typed Record