Method: ActiveRecord::ConnectionAdapters::SchemaStatements#check_constraints

Defined in:
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb

#check_constraints(table_name) ⇒ Object

Returns an array of check constraints for the given table. The check constraints are represented as CheckConstraintDefinition objects.

Raises:

  • (NotImplementedError)


1273
1274
1275
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 1273

def check_constraints(table_name)
  raise NotImplementedError
end