Function: PrimaryColumn()
PrimaryColumn(
options?): (target,propertyKey) =>void
Defined in: service-core/src/decorators/PersistenceDecorators.ts:147
Indicates that the decorated property is a primary key column in the datastore.
Parameters
options?
ColumnOptions = {}
The options describing the column.
Returns
(target, propertyKey) => void