Class: ActiveRecord::ConnectionAdapters::RedshiftAdapter::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::RedshiftAdapter::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/redshift_adapter.rb
Instance Method Summary collapse
Instance Method Details
#identity(name) ⇒ Object
248 249 250 |
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 248 def identity(name) column(name, :identity) end |
#tsvector(*args) ⇒ Object
243 244 245 246 |
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 243 def tsvector(*args) = args. column(args[0], 'tsvector', ) end |
#xml(*args) ⇒ Object
238 239 240 241 |
# File 'lib/active_record/connection_adapters/redshift_adapter.rb', line 238 def xml(*args) = args. column(args[0], 'xml', ) end |