Static
Readonly
DEFERREDWill trigger an additional query at the beginning of a transaction which sets the constraints to deferred.
Static
Readonly
IMMEDIATEWill trigger an additional query at the beginning of a transaction which sets the constraints to immediately.
Static
to
Can be used to set constraints deferrable within a transaction. This is only supported in PostgreSQL.
The constraints can be configured to be deferrable in a transaction like this. It will trigger a query once the transaction has been started and set the constraints to be checked at the very end of the transaction.