Is there a simple way to move documents between collections in ArangoDB?
I tried the cheap approach to just alter the _id
, but as feared that's not supposed to be done or possible:
FOR i IN collection_A
UPDATE { _key: i._key, _id: CONCAT('collection_B/',i._key) } IN collection_A
Are there useful ways how I can move my document from collection_A
to collection_B
with AQL?