1
0
Fork 0
arangodb/Documentation/Examples/MOD_01b_routingEnableOwnTes...

13 lines
278 B
Plaintext

arangosh> db._routing.save({
........> url: "/ourtest",
........> action: {
........> controller: "db://ownTest"
........> }
........> });
{
"_id" : "_routing/607581067",
"_rev" : "607581067",
"_key" : "607581067"
}
arangosh> require("internal").reloadRouting()