Function: DataStore()
DataStore(
datasource): (target) =>void
Defined in: service-core/src/decorators/ModelDecorators.ts:74
Indicates that the class describes an entity that will be persisted in the datasource with the given name.
Parameters
datasource
string
The name of the datasource to store records of the decorated class.
Returns
(target) => void