Interface IModelOptions

Hierarchy

  • IModelOptions

Properties

existingConnection?: Connection

An Existing Connection

existingMongoose?: mongoose

An Existing Mongoose Connection

options?: ICustomOptions

Typegoose Custom Options

schemaOptions?: SchemaOptions<unknown, {}, {}, {}, {}, mongoose.Document<unknown, {}, unknown> & Required<{
    _id: unknown;
}>>

Supports all Mongoose's Schema Options

Type declaration

    Type declaration

      Type declaration

        Type declaration

          Generated using TypeDoc