method

next_sequence_value

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ClassMethods
next_sequence_value() public

Returns the next value that will be used as the primary key on an insert statement.

Show source
Register or log in to add new notes.