Class: ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition
- Defined in:
- 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
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression
179 180 181 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 179 def expression @expression end |
#options ⇒ Object
Returns the value of attribute options
179 180 181 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 179 def end |
#table_name ⇒ Object
Returns the value of attribute table_name
179 180 181 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 179 def table_name @table_name end |
Instance Method Details
#deferrable ⇒ Object
192 193 194 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192 def deferrable [:deferrable] end |
#export_name_on_schema_dump? ⇒ Boolean
196 197 198 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 196 def export_name_on_schema_dump? !ActiveRecord::SchemaDumper.excl_ignore_pattern.match?(name) if name end |
#name ⇒ Object
180 181 182 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 180 def name [:name] end |
#using ⇒ Object
184 185 186 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 184 def using [:using] end |
#where ⇒ Object
188 189 190 |
# File 'lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 188 def where [:where] end |