- getModel<M>(registry, managerName, modelName?): ModelStatic<M>
Type Parameters
- M extends Model<any, any> = Model<any, any>
Parameters
- registry: Registry
- managerName: string
Optional
modelName: string
Returns ModelStatic<M>
- getModel<M>(registry, managerName, modelName?): M
Type Parameters
- M extends ModelStatic<Model<any, any>> = ModelStatic<Model<any, any>>
Parameters
- registry: Registry
- managerName: string
Optional
modelName: string
Returns M
- getModel<TModelAttributes, TCreationAttributes>(registry, managerName, modelName?): ModelStatic<Model<TModelAttributes, TCreationAttributes>>
Type Parameters
- TModelAttributes extends Record<string, unknown> = {}
- TCreationAttributes extends Record<string, unknown> = {}
Parameters
- registry: Registry
- managerName: string
Optional
modelName: string
Model name