Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition
- Defined in:
- activerecord/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
215 216 217 218 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb', line 215 def tsvector(*args) = args. column(args[0], 'tsvector', ) end |
#xml(*args) ⇒ Object
210 211 212 213 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb', line 210 def xml(*args) = args. column(args[0], 'xml', ) end |