Options
All
  • Public
  • Public/Protected
  • All
Menu
label

COMMON

description

The main definition for the AppDatabaseModule module.

since

v0.5.6

Hierarchy

  • MongooseModule
    • AppDatabaseModule

Implements

Index

Constructors

Methods

  • forFeature(models?: ModelDefinition[], connectionName?: string): DynamicModule
  • Parameters

    • Optional models: ModelDefinition[]
    • Optional connectionName: string

    Returns DynamicModule

  • forFeatureAsync(factories?: AsyncModelFactory[], connectionName?: string): DynamicModule
  • Parameters

    • Optional factories: AsyncModelFactory[]
    • Optional connectionName: string

    Returns DynamicModule

  • forRoot(uri: string, options?: MongooseModuleOptions): DynamicModule
  • Parameters

    • uri: string
    • Optional options: MongooseModuleOptions

    Returns DynamicModule

  • forRootAsync(options: MongooseModuleAsyncOptions): DynamicModule
  • Parameters

    • options: MongooseModuleAsyncOptions

    Returns DynamicModule

Generated using TypeDoc