简体   繁体   中英

Arangodb UPDATE 2 different documents in 1 AQL

How can we do it since

For v in relation

UPDATE { _key: v._from,"foo": false } IN A
UPDATE { _key: v._to,"foo": false } IN A

would return error of reading modified data. What is the correct way of doing this in AQL?

From the docs

Only a single UPDATE statement per collection is allowed per AQL query

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM