Class: ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- ActiveRecord::ConnectionAdapters::IBM_DBAdapter
- Defined in:
- lib/connection_adapters/ibm_db_adapter.rb
Instance Method Summary collapse
-
#constraints(table_name, name = nil) ⇒ Object
DrySQL queries the current schema’s System Catalog Views, which contain metadata only for those constraints that are defined in the current schema.
Instance Method Details
#constraints(table_name, name = nil) ⇒ Object
DrySQL queries the current schema’s System Catalog Views, which contain metadata only for those constraints that are defined in the current schema.
If you have inter-schema referential constraints, and I’m not sure why you would or whether DB2 even supports this, DrySQL will not detect them and will raise an error.
208 209 210 |
# File 'lib/connection_adapters/ibm_db_adapter.rb', line 208 def constraints(table_name, name = nil) #:nodoc: @servertype.constraints(table_name, name) end |