Creates a `replaceOne` query: finds the first document that matches `filter` and replaces it with `replacement`.
(
filter?: QueryFilter<TRawDocType>,
replacement?: TRawDocType | AnyObject,
options?: (mongodb.ReplaceOptions & QueryOptions<TRawDocType>) | null
)
| 1345 | |
| 1346 | /** Creates a `replaceOne` query: finds the first document that matches `filter` and replaces it with `replacement`. */ |
| 1347 | replaceOne<ResultDoc = THydratedDocumentType>( |
| 1348 | filter?: QueryFilter<TRawDocType>, |
| 1349 | replacement?: TRawDocType | AnyObject, |
| 1350 | options?: (mongodb.ReplaceOptions & QueryOptions<TRawDocType>) | null |
no outgoing calls