Optional: Limits the fields to return for all matching documents. See
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.
Generated using TypeDoc
RemoteFindOneAndModifyOptions
Options to use when executing a
findOneAndUpdate
command on a RemoteMongoCollection.See Also