Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @midwayjs/typegoose

References

Configuration

Configuration:

EntityModel

EntityModel:

InjectEntityModel

InjectEntityModel:

Type aliases

ConnectionOptions

ConnectionOptions: ExtractConnectionOptions<typeof __type>

DefaultConfig

DefaultConfig: object

Type declaration

ExtractConnectionOptions

ExtractConnectionOptions<T>: T extends M5 ? T["ConnectionOptions"] : T extends M6 ? T["ConnectOptions"] : never

Type parameters

  • T

Variables

Const ENTITY_MODEL_KEY

ENTITY_MODEL_KEY: "TYPEGOOSE:MODEL" = "TYPEGOOSE:MODEL"

Functions

EntityModel

InjectEntityModel

  • InjectEntityModel(modelKey: any, connectionName?: any): (Anonymous function)

Generated using TypeDoc