Class: ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#options ⇒ Object
Returns the value of attribute options.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
- #deferrable ⇒ Object
- #export_name_on_schema_dump? ⇒ Boolean
- #name ⇒ Object
- #using ⇒ Object
- #where ⇒ Object
Methods inherited from Struct
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression
192 193 194 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192 def expression @expression end |
#options ⇒ Object
Returns the value of attribute options
192 193 194 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192 def @options end |
#table_name ⇒ Object
Returns the value of attribute table_name
192 193 194 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192 def table_name @table_name end |
Instance Method Details
#deferrable ⇒ Object
205 206 207 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 205 def deferrable [:deferrable] end |
#export_name_on_schema_dump? ⇒ Boolean
209 210 211 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 209 def export_name_on_schema_dump? !ActiveRecord::SchemaDumper.excl_ignore_pattern.match?(name) if name end |
#name ⇒ Object
193 194 195 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 193 def name [:name] end |
#using ⇒ Object
197 198 199 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 197 def using [:using] end |
#where ⇒ Object
201 202 203 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 201 def where [:where] end |