Skip to content

Enum support in Condition

Compare
Choose a tag to compare
@phpfui phpfui released this 26 Apr 03:01
· 41 commits to main since this release
  • Enums can now be used as values in Condition objects without having to use MyEnum::MY_VALUE->value
    • Example: $condition = new \PHPFUI\ORM\Condition('field', MyEnum::MY_VALUE);
  • Added Table::validateFromTable method to perform record validation before calling updateFromTable