Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MongooseConnectorOptions

Hierarchy

  • MongooseConnectorOptions

Index

Properties

Optional mongooseInstance

mongooseInstance: __module

Force a Mongoose instance (when using multiple databases, also useful during local development when not using Yalc)

Optional mongooseModel

mongooseModel: Model<any, {}, {}, {}>

Force a mongoose model. Use if you need to customize the schema or options

Optional mongooseSchema

mongooseSchema: Schema<any, Model<any, any, any, any>, {}, {}>

Optional useStringId

useStringId: Boolean

Will automatically convert your Mongo document to serializable JSON documents, with string ids

Generated using TypeDoc