📄️ Relation Definition
Defining oneToMany, oneToOne, manyToOne, and manyToMany relations between sheets
📄️ include
Fetch related records with where/orderBy/select options, nested include, and relation _count
📄️ where Relation Filter
Filter by related records using some/every/none (list relations) and is/isNot (single relations)
📄️ onDelete
Referential actions on delete (Cascade, SetNull, Restrict, NoAction)
📄️ Nested Write (create)
Write related records inside create using create/connect/connectOrCreate
📄️ onUpdate
Referential actions on update (Cascade, SetNull, Restrict, NoAction)
📄️ Nested Write (update)
Modify related records inside update using update/delete/deleteMany/disconnect/set