PrimaryKey
Type Alias: PrimaryKey<T>
PrimaryKey<
T> =Pick<T,T[typeofWEBDA_PRIMARY_KEY][number]> &object
Defined in: packages/models/src/storable.ts:201
Get the primary key of the object
The main difference with the PrimaryKeyType
The PrimaryKeyType
Type Declaration
toString()
toString():
string
Returns
string
Type Parameters
T
T extends Storable<any, any>