identity method

ColumnDefinition<T> identity()

Uses an integer-storage domain codec as a database-generated primary key. The column must be non-nullable and be the table's only primary-key field.

Implementation

ColumnDefinition<T> identity() => this;