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