method

last_insert_id_result

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

last_insert_id_result(sequence_name)
private

Returns the current ID of a table’s sequence.