Module: ActiveRecord::Import::Sqlite3Adapter

Included in:
ConnectionAdapters::Sqlite3Adapter
Defined in:
lib/activerecord-import/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/adapters/sqlite3_adapter.rb', line 2

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