Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/postgresql_adapter.rb
Instance Attribute Summary
Attributes inherited from TableDefinition
Instance Method Summary collapse
Methods inherited from TableDefinition
#[], #column, #initialize, #primary_key, #references, #timestamps, #to_sql
Constructor Details
This class inherits a constructor from ActiveRecord::ConnectionAdapters::TableDefinition
Instance Method Details
#tsvector(*args) ⇒ Object
212 213 214 215 |
# File 'lib/active_record/connection_adapters/postgresql_adapter.rb', line 212 def tsvector(*args) = args. column(args[0], 'tsvector', ) end |
#xml(*args) ⇒ Object
207 208 209 210 |
# File 'lib/active_record/connection_adapters/postgresql_adapter.rb', line 207 def xml(*args) = args. column(args[0], 'xml', ) end |