Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/orm/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ primary key.
You can enforce ``existsIn`` to pass when nullable parts of your composite foreign key
are null::

// Example: A composite primary key within NodesTable is (id, site_id).
// Example: A composite primary key within NodesTable is (parent_id, site_id).
// A Node may reference a parent Node but does not need to. In latter case, parent_id is null.
// Allow this rule to pass, even if fields that are nullable, like parent_id, are null:
$rules->add($rules->existsIn(
Expand Down
Loading