AQL- expected join possible in Arangodb and How?

后端 未结 1 1365
逝去的感伤
逝去的感伤 2021-01-17 05:09

My Environment

  • ArangoDB Version: 3.5.2(the latest i think)
  • Storage Engine:RocksDB
  • Deployment Mode:Single Server
  • D
相关标签:
1条回答
  • 2021-01-17 05:41

    You could try

    FOR item in collection_1
        FOR item2 in collection_2
            FILTER item.id == item2.id
            RETURN MERGE(item, item2)
    

    You can check the documentation: https://www.arangodb.com/docs/stable/aql/examples-join.html

    0 讨论(0)
提交回复
热议问题