Function: InjectDbContext()
InjectDbContext<
TContext>(contextClass): (target,propertyKey,parameterIndex) =>any
Defined in: src/di/nestjs/InjectDbContext.ts:12
Parameter decorator for injecting DbContext into NestJS constructors.
Type Parameters
| Type Parameter |
|---|
TContext extends DbContext |
Parameters
| Parameter | Type |
|---|---|
contextClass | (...args) => TContext |
Returns
(target, propertyKey, parameterIndex) => any