deferForeignKeys

Queries or sets the defer_foreign_keys flag.

When enabled (true), foreign key constraint enforcement is delayed until the outermost transaction is committed. This allows temporary violations within a transaction. This pragma is automatically disabled after each transaction.

Author

MOHAMMAD AZIM ANSARI

See also