isPrimaryKey property
bool
get
isPrimaryKey
Whether this column is a primary key.
Implementation
bool get isPrimaryKey => constraint?.toUpperCase() == 'PRIMARY KEY';
Whether this column is a primary key.
bool get isPrimaryKey => constraint?.toUpperCase() == 'PRIMARY KEY';