autoIncrement

Tag a column as receiving an automatic value incremented by the database (usually the id).

When inserting whole items into the table, any autoincrement columns are given the value returned from the database.

In many cases, database implementations only allow one autoIncrement value to be returned. In this case, the autoIncrement value will be assigned to ALL items in the model, even if they are different.

Meta