Skip to content

Commit 469e6dc

Browse files
authored
Update DocumentManipulation.md
Fixes some mistakes in the documentation. Also adds the information that for the `overwrite` flag at least ArangoDB with version 3.4.0 or higher is required.
1 parent ed81361 commit 469e6dc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/Drivers/Java/Reference/Collection/DocumentManipulation.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ Creates a new document from the given document, unless there is already a docume
124124

125125
- **returnOld**: `Boolean`
126126

127-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
127+
This options requires ArangoDB version 3.4.0 or higher. Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
128128

129129
- **overwrite**: `Boolean`
130130

131-
If set to true, the insert becomes a replace-insert. If a document with the same \_key already exists the new document is not rejected with unique constraint violated but will replace the old document.
131+
This options requires ArangoDB version 3.4.0 or higher. If set to true, the insert becomes a replace-insert. If a document with the same \_key already exists the new document is not rejected with unique constraint violated but will replace the old document.
132132

133133
- **silent**: `Boolean`
134134

@@ -172,11 +172,11 @@ Creates new documents from the given documents, unless there is already a docume
172172

173173
- **returnOld**: `Boolean`
174174

175-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
175+
This options requires ArangoDB version 3.4.0 or higher. Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
176176

177177
- **overwrite**: `Boolean`
178178

179-
If set to true, the insert becomes a replace-insert. If a document with the same \_key already exists the new document is not rejected with unique constraint violated but will replace the old document.
179+
This options requires ArangoDB version 3.4.0 or higher. If set to true, the insert becomes a replace-insert. If a document with the same \_key already exists the new document is not rejected with unique constraint violated but will replace the old document.
180180

181181
- **silent**: `Boolean`
182182

@@ -233,7 +233,7 @@ Replaces the document with _key_ with the one in the body, provided there is suc
233233

234234
- **returnOld**: `Boolean`
235235

236-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
236+
Additionally return the complete old document under the attribute old in the result.
237237

238238
- **silent**: `Boolean`
239239

@@ -291,7 +291,7 @@ Replaces multiple documents in the specified collection with the ones in the val
291291

292292
- **returnOld**: `Boolean`
293293

294-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
294+
Additionally return the complete old document under the attribute old in the result.
295295

296296
- **silent**: `Boolean`
297297

@@ -352,7 +352,7 @@ Updates the document with _key_ with the one in the body, provided there is such
352352

353353
- **returnOld**: `Boolean`
354354

355-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
355+
Additionally return the complete old document under the attribute old in the result.
356356

357357
- **silent**: `Boolean`
358358

@@ -410,7 +410,7 @@ Updates multiple documents in the specified collection with the ones in the valu
410410

411411
- **returnOld**: `Boolean`
412412

413-
Additionally return the complete old document under the attribute old in the result. Only available if the _overwrite_ option is used.
413+
Additionally return the complete old document under the attribute old in the result.
414414

415415
- **silent**: `Boolean`
416416

0 commit comments

Comments
 (0)