Interface MongooseManagerArg<RawDocType, TModelType, TInstanceMethods, TQueryHelpers, TVirtuals, TStaticMethods, TSchemaOptions>

interface MongooseManagerArg<RawDocType, TModelType, TInstanceMethods, TQueryHelpers, TVirtuals, TStaticMethods, TSchemaOptions> {
    config?: {
        database: string;
        models: ModelSettings<RawDocType, TModelType, TInstanceMethods, TQueryHelpers, TVirtuals, TStaticMethods, TSchemaOptions>[];
        options?: ConnectOptions;
    };
    name?: string;
}

Type Parameters

  • RawDocType = NonNullable<unknown>
  • TModelType = any
  • TInstanceMethods = NonNullable<unknown>
  • TQueryHelpers = NonNullable<unknown>
  • TVirtuals = NonNullable<unknown>
  • TStaticMethods = NonNullable<unknown>
  • TSchemaOptions = NonNullable<unknown>

Hierarchy

  • ManagerArg
    • MongooseManagerArg

Properties

Properties

config?: {
    database: string;
    models: ModelSettings<RawDocType, TModelType, TInstanceMethods, TQueryHelpers, TVirtuals, TStaticMethods, TSchemaOptions>[];
    options?: ConnectOptions;
}
name?: string