compileEnableForeignKeyConstraints method

  1. @override
String? compileEnableForeignKeyConstraints()
override

Compiles SQL to enable foreign key constraint checking. Returns null if this dialect doesn't support FK constraint control.

Implementation

@override
String? compileEnableForeignKeyConstraints() {
  // PostgreSQL doesn't have session-level FK disable
  // Must use ALTER TABLE ... ENABLE TRIGGER ALL on each table
  return null; // Handled at adapter level
}