Skip to content

Commit

Permalink
Update source/includes/write/replace.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nora Reidy <[email protected]>
  • Loading branch information
elyse-mdb and norareidy authored Oct 23, 2024
1 parent 85628ba commit 17ac711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/includes/write/replace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ int main() {
// end-replace-options-hint
}

// Replaces a document that has a "name" value of "In-N-Out Burger" and instructs the operation to insert a new document if none match
{
// start-replace-options-upsert
std::cout << "Total document count before replace_one(): " << collection.count_documents({}) << std::endl;
Expand Down

0 comments on commit 17ac711

Please sign in to comment.