primaryKey top-level constant

PrimaryKey const primaryKey

Marks a field in an Entity as the primary key.

Defaults the automatic generation of the primary key to false.

Implementation

const primaryKey = PrimaryKey();