ArangoDB: What is the best way to load a schema into a new database?

When starting a new instance of ArangoDB, the best way to load into a database schema?

I would like to define collections and indexes in a file, and then pass it to Arango in some way.

+4
source share
1 answer

You can use the option --javascript.executeto run the javascript file in the arango shell. https://docs.arangodb.com/3.3/Manual/GettingStarted/Arangosh.html

There is also an XML-based schema evolution tool: https://github.com/deusdat/migrantverde (deprecated) Replaced by: https://github.com/deusdat/arangomigo

+5
source

Source: https://habr.com/ru/post/1693600/


All Articles