Options
All
  • Public
  • Public/Protected
  • All
Menu

RemoteFindOneAndModifyOptions

Options to use when executing a findOneAndUpdate command on a RemoteMongoCollection.

See Also

Hierarchy

  • RemoteFindOneAndModifyOptions

Index

Properties

Optional projection

projection: undefined | object

Optional: Limits the fields to return for all matching documents. See

Optional returnNewDocument

returnNewDocument: undefined | false | true

Optional sort

sort: undefined | object

Optional: Specifies the query sort order. Sort documents specify one or more fields to sort on where the value of each field indicates whether MongoDB should sort it in ascending (1) or descending (0) order. The sort order determines which document collection.findOneAndUpdate() affects.

Optional upsert

upsert: undefined | false | true

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc