Skip to content

Releases: phpfui/ORM

Group By and Order By field cleaning

30 Apr 19:57
Compare
Choose a tag to compare
  • Clean group by and order by field names, as they can not use placeholders, to help prevent injection attacks
  • Migration testing
  • Better default field generation

Mass insert for Table

29 Apr 21:55
Compare
Choose a tag to compare
  • Implemented Table::insert(array[\PHPFUI\ORM\Record]) for mass inserts
  • RelatedRecords are now settable if they have the correct type on assignment
  • Improved Generate\CRUD to only create docblock for defined related records
  • Update docs

Field Comparison Validators

28 Apr 19:46
Compare
Choose a tag to compare

New validators compare against other record fields:

  • eq_field, Equal to field
  • gt_field, Greater Than field
  • gte_field, Greater Than or Equal to field
  • lt_field, Less Than field
  • lte_field, Less Than or Equal to field
  • neq_field, Not Equal to field

These validators compare against values:

  • equal, Value must be equal
  • not_equal, Value must not be equal

More validators

28 Apr 03:17
Compare
Choose a tag to compare

Added the following validators:

  • starts_with
  • ends_with
  • contains
  • istarts_with (case insensitive)
  • iends_with (case insensitive)
  • icontains (case insensitive)

Insert or Ignore support

26 Apr 19:25
Compare
Choose a tag to compare
  • Insert or Ingore support (Record->insertOrIgnore())
  • Custom Related Record virtual fields
  • Updated documenation

Better support for Date and TimeStamp defaults

24 Apr 23:10
Compare
Choose a tag to compare
  • Better support for Date and TimeStamp defaults
  • Updated documentation

Better default and null support

21 Apr 17:04
Compare
Choose a tag to compare

This version requires rerunning CRUD generation.

  • Better default and null support
  • Transaction object
  • Better primary key support
  • Updated documentation
  • Support for PHPUnit 10
  • Additional unit tests

Initial Version

04 Apr 03:03
Compare
Choose a tag to compare

Initial Version