referential_actions
Gathers all referential actions by ormar.
ReferentialAction
Bases: Enum
Because the database management system(DBMS) enforces referential constraints, it must ensure data integrity if rows in a referenced table are to be deleted (or updated).
If dependent rows in referencing tables still exist, those references have to be considered.
SQL specifies 5 different referential actions that shall take place in such occurrences.
Source code in ormar\fields\referential_actions.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|