FindOptions

Options used to configure find operations.

Name

Type

Description

fields

Json object

Set the fields

limit

Number (int)

Set the limit

skip

Number (int)

Set the skip

sort

Json object

Set the sort document

UpdateOptions

Options for configuring updates.

Name

Type

Description

multi

Boolean

Set whether multi is enabled

upsert

Boolean

Set whether upsert is enabled

writeOption

WriteOption

Set the write option