MongoDB C++ Driver  legacy-1.0.3
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
write_options.h
1 /* Copyright 2014 MongoDB Inc.
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #pragma once
17 
18 namespace mongo {
19 
23 
27 
30  };
31 
35 
38  };
39 
46  };
47 
48 } // namespace mongo
only delete one option
Definition: write_options.h:34
the main MongoDB namespace
Definition: bulk_operation_builder.h:24
flag from mongo saying this update went everywhere
Definition: write_options.h:37
flag from mongo saying this update went everywhere
Definition: write_options.h:29
RemoveOptions
Definition: write_options.h:32
InsertOptions
need to put in DbMesssage::ReservedOptions as well
Definition: write_options.h:43
With muli-insert keep processing inserts if one fails.
Definition: write_options.h:45
Update multiple documents (if multiple documents match query expression).
Definition: write_options.h:26
Upsert - that is, insert the item if no matching item is found.
Definition: write_options.h:22
UpdateOptions
Definition: write_options.h:20