Skip to content

FindOneOptions

Description

Options provided to find_one_and_replace and find_one_and_update methods

Enumerations

ReturnDocument

enum ReturnDocument {
    "BEFORE": 0,
    "AFTER": 1
}

Version of document to return, either original or replaced.

Back to top