如何获取 ArangoDB 中的文档列表?
How to get list of documents in ArangoDB?
为了访问 collection 内容,我需要知道 {collection-name}
和 {document-key}
。
我如何使用 http 在 ArangoDB 中获取所有文档及其 {document-key}
的列表?
在 docs 中有一个 GET /_api/document
请求,它将检索集合中的所有文档。如果您指定 type=key
查询字符串参数,那么您将获得包含文档键数组的响应。
为了访问 collection 内容,我需要知道 {collection-name}
和 {document-key}
。
我如何使用 http 在 ArangoDB 中获取所有文档及其 {document-key}
的列表?
在 docs 中有一个 GET /_api/document
请求,它将检索集合中的所有文档。如果您指定 type=key
查询字符串参数,那么您将获得包含文档键数组的响应。