method
last_insert_id
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
last_insert_id(sequence_name)private
Returns the current ID of a table’s sequence.
last_insert_id(sequence_name)Returns the current ID of a table’s sequence.