Function: MongoRepository()
MongoRepository(
type): (target,propertyKey) =>void
Defined in: service-core/src/decorators/DatabaseDecorators.ts:10
Apply this to a property to have the TypeORM MongoRepository for the given entity type injected at instantiation.
Parameters
type
any
The entity type whose repository will be injected.
Returns
(target, propertyKey) => void