MongoDB C++ Driver  legacy-1.1.2
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  // TODO: upsert, and multi are per item in a batch, this is for the whole batch
34 };
35 
39 
42 };
43 
50 
53 
54 };
55 
56 } // namespace mongo
Disables document validation for this operation.
Definition: write_options.h:52
only delete one option
Definition: write_options.h:38
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
Disables document validation for this operation.
Definition: write_options.h:33
flag from mongo saying this update went everywhere
Definition: write_options.h:41
flag from mongo saying this update went everywhere
Definition: write_options.h:29
RemoveOptions
Definition: write_options.h:36
InsertOptions
need to put in DbMesssage::ReservedOptions as well
Definition: write_options.h:47
With muli-insert keep processing inserts if one fails.
Definition: write_options.h:49
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