Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollectionInsertOneOptions

Hierarchy

  • CollectionInsertOneOptions

Index

Properties

Optional bypassDocumentValidation

bypassDocumentValidation: boolean

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

Optional forceServerObjectId

forceServerObjectId: boolean

Force server to assign _id values instead of driver.

Optional j

j: boolean

Specify a journal write concern.

Optional serializeFunctions

serializeFunctions: boolean

Serialize functions on any object.

Optional w

w: number | string

The write concern.

Optional wtimeout

wtimeout: number

The write concern timeout.

Generated using TypeDoc