W3cubDocs

/CakePHP 3.4

Namespace Cake\ORM\Rule

Class summary

  • Checks that the value provided in a field exists as the primary key of another table.

  • Checks that a list of fields from an entity are unique in the table

  • Validates the count of associated records.

© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/namespace-Cake.ORM.Rule.html