简体   繁体   English

如何获取ArangoDB中的文档列表?

[英]How to get list of documents in ArangoDB?

For accessing to collection content I need to know {collection-name} and {document-key} . 要访问集合内容,我需要知道{collection-name}{document-key} How I can get list of all documents with their {document-key} in ArangoDB with http? 我如何在带有http的ArangoDB中使用其{document-key}获取所有文档的列表?

In docs there is a GET /_api/document request which will retrieve all documents from collection. docs中有一个GET /_api/document请求,该请求将从集合中检索所有文档。 If you specify type=key query string parameter then you will get response with an array of document keys. 如果指定type=key查询字符串参数,则将获得带有文档键数组的响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM