forked from mongodb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apiargs-dbcommand-applyOps-field.yaml
47 lines (47 loc) · 1.25 KB
/
apiargs-dbcommand-applyOps-field.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
arg_name: field
description: |-
The oplog entries to apply.
interface: dbcommand
name: applyOps
operation: applyOps
optional: false
position: 1
type: array
---
arg_name: field
description: |
An array of documents that contain the conditions that must be true
in order to apply the oplog entry. Each document contains a set of
conditions, as described in the next table.
interface: dbcommand
name: preCondition
operation: applyOps
optional: true
position: 2
type: array
---
arg_name: field
description: |
A flag that indicates whether to apply update operations in the
oplog as :ref:`upserts <write-operations-upsert-behavior>`. When
``true``, all updates become upserts to prevent failures as a
results of sequences of updates followed by deletes: this is the
same mode of operation as normal replication in secondaries. When
``false``, updates are applied unmodified: this is the same mode of
operation used during initial sync operations. ``true`` by default.
interface: dbcommand
name: alwaysUpsert
operation: applyOps
optional: true
position: 3
type: boolean
---
name: bypassDocumentValidation
source:
ref: bypassDocumentValidation
file: apiargs-dbcommand-insert-field.yaml
replacement:
verb: "insert or update"
position: 4
operation: applyOps
...