Method: Sequel::Postgres::DatabaseMethods#supports_deferrable_constraints?

Defined in:
lib/sequel/adapters/shared/postgres.rb

#supports_deferrable_constraints?Boolean

PostgreSQL 9.0+ supports some types of deferrable constraints beyond foreign key constraints.

Returns:

  • (Boolean)


476
477
478
# File 'lib/sequel/adapters/shared/postgres.rb', line 476

def supports_deferrable_constraints?
  server_version >= 90000
end