Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MongoConnectorOptions

Hierarchy

  • MongoConnectorOptions

Index

Properties

Optional collectionName

collectionName: string

Will use model.name if not specified

mongoClient

mongoClient: MongoClient

Mongo Client

/!\ The connector won't handle the connection for you Make sure to check the client connection before calling any of its method

Optional useStringId

useStringId: Boolean

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

Generated using TypeDoc