ArangoDB 中所有的修改API 都支持查询参数waitForSync 吗?

Is the query parameter waitForSync supported in all modification APIs in ArangoDB?

例如在API的文档中添加顶点集合 https://docs.arangodb.com/3.0/HTTP/Gharial/Management.html#add-vertex-collection "Return Codes" 部分提到了 waitForSync。

但是 API 没有 "Query Parameter" 部分。

实际上我尝试为此添加 waitForSync=true API,但我得到的结果代码是 202,而不是我预期的 201。 https://github.com/hnakamur/arangogo/blob/e6906759bead9857424782b4ab294ad4992bf1a9/cmd/example2/main.go#L103-L109

您好 waitForSync 支持所有 API 修改服务器上的数据。例如,创建和更新文档。

waitForSync 不支持服务器上的管理操作,例如创建新集合,这将始终 waitForSync(因为它必须为数据写入物理容器)

在图形案例中,您的 API 可能会创建文档或边缘集合(如果它们尚不存在)。这始终是一个同步任务。