Module: ActiveRecord::Import::SQLite3Adapter

Included in:
ConnectionAdapters::SQLite3Adapter
Defined in:
lib/activerecord-import-rails4/adapters/sqlite3_adapter.rb

Instance Method Summary collapse

Instance Method Details

#next_value_for_sequence(sequence_name) ⇒ Object



2
3
4
# File 'lib/activerecord-import-rails4/adapters/sqlite3_adapter.rb', line 2

def next_value_for_sequence(sequence_name)
  %{nextval('#{sequence_name}')}
end