Skip to main content

MongoMemoryReplSetOpts

API Documentation of MongoMemoryReplSetOpts-Interface

Values

instanceOpts

Typings: instanceOpts: MongoMemoryInstanceOptsBase[]
Default: {}

Set MongoMemoryInstanceOptsBase for a instance individually, overwrites existing options from replSet.

The count of this array deducts from the replSet.count, if more than replSet.count are specified, the additional ones are also spawned.

binary

Typings: binary: MongoBinaryOpts
Default: {}

Set MongoBinaryOpts for the replset instances to use.

replSet

Typings: replSet: ReplSetOpts
Default: {}

Set ReplSetOpts for the whole ReplSet and default options for the instances to spawn with.