MongoDB C++ Driver legacy-1.0.5
Loading...
Searching...
No Matches
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
18namespace mongo {
19
23
27
30 };
31
35
38 };
39
46 };
47
48} // namespace mongo
the main MongoDB namespace
Definition bulk_operation_builder.h:24
InsertOptions
need to put in DbMesssage::ReservedOptions as well
Definition write_options.h:43
@ InsertOption_ContinueOnError
With muli-insert keep processing inserts if one fails.
Definition write_options.h:45
RemoveOptions
Definition write_options.h:32
@ RemoveOption_Broadcast
flag from mongo saying this update went everywhere
Definition write_options.h:37
@ RemoveOption_JustOne
only delete one option
Definition write_options.h:34
UpdateOptions
Definition write_options.h:20
@ UpdateOption_Multi
Update multiple documents (if multiple documents match query expression).
Definition write_options.h:26
@ UpdateOption_Upsert
Upsert - that is, insert the item if no matching item is found.
Definition write_options.h:22
@ UpdateOption_Broadcast
flag from mongo saying this update went everywhere
Definition write_options.h:29