Documentation for PULL reverse_delete_rule
This commit is contained in:
parent
8060179f6d
commit
26db9d8a9d
3 changed files with 10 additions and 0 deletions
|
|
@ -656,6 +656,8 @@ class ReferenceField(BaseField):
|
|||
* NULLIFY - Updates the reference to null.
|
||||
* CASCADE - Deletes the documents associated with the reference.
|
||||
* DENY - Prevent the deletion of the reference object.
|
||||
* PULL - Pull the reference from a :class:`~mongoengine.ListField`
|
||||
of references
|
||||
|
||||
Alternative syntax for registering delete rules (useful when implementing
|
||||
bi-directional delete rules)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue