Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollectionInsertOneOptions

Hierarchy

  • CollectionInsertOneOptions

Index

Properties

Optional bypassDocumentValidation

bypassDocumentValidation: undefined | true | false

Allow driver to bypass schema validation in MongoDB 3.2 or higher.

Optional forceServerObjectId

forceServerObjectId: undefined | true | false

Force server to assign _id values instead of driver.

Optional j

j: undefined | true | false

Specify a journal write concern.

Optional serializeFunctions

serializeFunctions: undefined | true | false

Serialize functions on any object.

Optional w

w: number | string

The write concern.

Optional wtimeout

wtimeout: undefined | number

The write concern timeout.

Generated using TypeDoc