diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/modules/common/@arangodb/arango-collection-common.js b/js/apps/system/_admin/aardvark/APP/frontend/js/modules/common/@arangodb/arango-collection-common.js index ede736191f..fcf419699f 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/modules/common/@arangodb/arango-collection-common.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/modules/common/@arangodb/arango-collection-common.js @@ -1031,6 +1031,15 @@ ArangoCollection.prototype.replaceByExample = function (example, newValue, waitF /// the number of documents in the collection, it is undefined which documents are /// updated. /// +/// `collection.updateByExample(document, newValue, options)` +/// +/// Using this variant, the options for the operation can be passed using +/// an object with the following sub-attributes: +/// - *keepNull* +/// - *waitForSync* +/// - *limit* +/// - *mergeObjects* +/// /// @EXAMPLES /// /// @EXAMPLE_ARANGOSH_OUTPUT{012_documentsCollectionUpdateByExample} diff --git a/js/common/modules/@arangodb/arango-collection-common.js b/js/common/modules/@arangodb/arango-collection-common.js index 66468f0423..6e1749b73c 100644 --- a/js/common/modules/@arangodb/arango-collection-common.js +++ b/js/common/modules/@arangodb/arango-collection-common.js @@ -1030,6 +1030,15 @@ ArangoCollection.prototype.replaceByExample = function (example, newValue, waitF /// the number of documents in the collection, it is undefined which documents are /// updated. /// +/// `collection.updateByExample(document, newValue, options)` +/// +/// Using this variant, the options for the operation can be passed using +/// an object with the following sub-attributes: +/// - *keepNull* +/// - *waitForSync* +/// - *limit* +/// - *mergeObjects* +/// /// @EXAMPLES /// /// @EXAMPLE_ARANGOSH_OUTPUT{012_documentsCollectionUpdateByExample}