Module: ActiveRecord::Import::PostgreSQLAdapter
- Includes:
- ImportSupport
- Included in:
- ConnectionAdapters::PostgreSQLAdapter
- Defined in:
- lib/activerecord-import/adapters/postgresql_adapter.rb
Instance Method Summary collapse
Methods included from ImportSupport
Instance Method Details
#next_value_for_sequence(sequence_name) ⇒ Object
4 5 6 |
# File 'lib/activerecord-import/adapters/postgresql_adapter.rb', line 4 def next_value_for_sequence(sequence_name) %{nextval('#{sequence_name}')} end |