method

last_inserted_id

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

Method deprecated or moved

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

last_inserted_id(result)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb, line 111
          def last_inserted_id(result)
            @connection.last_id
          end