Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MongoClientOptions

Hierarchy

  • MongoClientOptions

Index

Properties

Optional db

A hash of options to set on the db object, see Db constructor.

Optional mongos

A hash of options to set on the mongos object, see Mongos constructor**.

Optional poolSize

poolSize: undefined | number

The maximum size of the individual server pool.

Optional promiseLibrary

promiseLibrary: Object

A Promise library class the application wishes to use such as Bluebird, must be ES6 compatible.

Optional replSet

A hash of options to set on the replSet object, see ReplSet constructor**.

Optional server

A hash of options to set on the server objects, see Server constructor**.

Optional ssl

ssl: undefined | true | false

Enable SSL connection.

Optional sslCA

sslCA: Buffer

SSL Certificate store binary buffer.

Optional uri_decode_auth

uri_decode_auth: undefined | true | false

Uri decode the user name and password for authentication.

Generated using TypeDoc