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 939ee1d commit 49f4063
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 @@ -37,6 +37,7 @@ int main() {
// end-replace-one-io
}

// Replaces a document that has a "name" value of "Nobu" and instructs the operation to use the name field index
{
// start-replace-options-hint
auto index_specification = make_document(kvp("name", 1));
Expand Down

0 comments on commit 49f4063

Please sign in to comment.