orm
Installation
SKILL.md
CakePHP ORM
When to use
- The user needs to declare relationships (hasMany, belongsTo, belongsToMany) or eager-load related records.
- The user wants to compose a select, filter, order, or aggregate query with the CakePHP query builder.
- The user needs to read or write records using CakePHP Table objects and Entity objects.
When NOT to use
- Do not use this skill for Eloquent, Doctrine, or raw PDO; the Table/Entity/query-builder API is CakePHP specific.
- Do not force the ORM query builder onto a bulk DDL or vendor-specific statement that the builder cannot express; use a parameterized raw statement via the connection instead.