1
0
Fork 0
arangodb/Documentation/Examples/modules-require-2

11 lines
227 B
Plaintext

> ./arangod --shell --startup.modules-path "/tmp/path1;/tmp/path2" /tmp/vocbase
ArangoDB shell [V8 version 3.6.5.1, DB version 1 (9727)]
arango> var test1 = require("test1");
arango> test1.const1;
1
arango> test1.func1();
1