查询 ArangoDB 中的多个数据库

Queries over several Databases in ArangoDB

我想知道是否有在多个数据库上使用 AQL 查询的选项?

使用 pyArango 我知道您可以编写一个脚本来遍历所有数据库并执行 AQL,但在本地,这可能吗?

不,这是不可能的。按照设计,每个数据库都是相互隔离的。 documentation 声明如下:

Please note that commands, actions, scripts or AQL queries should never access multiple databases, even if they exist. The only intended and supported way in ArangoDB is to use one database at a time for a command, an action, a script or a query. Operations started in one database must not switch the database later and continue operating in another.