![]() If a data-modification operation fails, any changes made by it will be rolledīack automatically as if they never happened. On a single server, data-modification operations are executed transactionally. Perform further calculations and a RETURN operation to return data. Same collection, it is recommended to collect these documents or their keys in an arrayĪnd have the documents from that array removed using a single REMOVE operation.ĭata-modification operations can optionally be followed by LET operations to In case you have a query with several places that need to remove documents from the It is however possible to modify different collectionsīy using multiple data-modification operations for different collections in the #Arangodb aql functions update#That means you may not place several REMOVE or UPDATE statements for the sameĬollection into the same query. (which may read from arbitrary collections not necessarily known at the start of It possible to follow up any data-modification operation with a traversal query ![]() Specific collection with a read operation for the same collection. It is not possible to use multiple data-modification operations for the sameĬollection in the same query, or follow up a data-modification operation for a Must be known to the AQL executor at query-compile time and cannot change at The name of the modified collection ( users and backup in the above cases) Here is an example that insert a document in an existing collection users: Let’s start with the basics: INSERT, UPDATE and REMOVE operations on single documents. The operations are detailed in the chapter High Level Operations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |