启动 ArangoDB 的新实例时,加载数据库方案的最佳方式是什么?
我想在文件中定义集合和索引,然后以某种方式将其提供给 Arango。
您可以使用选项
--javascript.execute
在 arango shell 中运行 javascript 文件。
https://docs.arangodb.com/3.11/components/tools/arangodb-shell/options/#--javascriptexecute
还有一个基于XML的模式演化工具:
https://github.com/deusdat/migrantverde(已弃用)
替换为:
https://github.com/deusdat/arangomigo