0

I am interested in created a FOXX application for Arango - but I want to use a collection I already have and will use in other ways. From the interface and the documentation it seems that I need to create a new collection.

Is there some work around where I can use an existing collection?

4

1 回答 1

4

是的,您可以,您可以在添加新的 Fox 服务时跳过创建新集合。

然后使用数据库中的任何集合,例如

var db = require('org/arangodb').db;
db.yourcollectionname.save({yourdocument});

在这里您可以找到收集方法 https://docs.arangodb.com/Documents/DocumentMethods.html

于 2016-02-09T08:06:57.027 回答