constraints
CheckColumns
Bases: CheckConstraint
Subclass of sqlalchemy.CheckConstraint. Used to avoid importing anything from sqlalchemy by user.
Note that some databases do not actively support check constraints such as MySQL.
Source code in ormar/fields/constraints.py
25 26 27 28 29 30 31 |
|
UniqueColumns
Bases: UniqueConstraint
Subclass of sqlalchemy.UniqueConstraint. Used to avoid importing anything from sqlalchemy by user.
Source code in ormar/fields/constraints.py
6 7 8 9 10 |
|