method

pk_and_sequence_for

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

Method deprecated or moved

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

pk_and_sequence_for(table)
public

Returns a table’s primary key and belonging sequence.