FindOneAndModifyOptions
-
Limits the fields to return for all matching documents.
-
The order in which to return matching documents.
-
Options to use when executing a
findOneAndUpdate
,findOneAndReplace
, orfindOneAndDelete
command on aMongoCollection
-
Options to use when executing a
findOneAndUpdate
,findOneAndReplace
, orfindOneAndDelete
command on aMongoCollection