primaryKey property
String?
get
primaryKey
Gets the primary key column name.
Implementation
String? get primaryKey {
for (final entry in columns.entries) {
if (entry.value.isPrimaryKey) {
return entry.key;
}
}
return null;
}