将文档从一个 DocumentCollection 复制到另一个?

Copy documents from one DocumentCollection to another?

在我与 Gremlin API 一起使用的 Azure CosmosDB 中,有一个名为 graphdb 有几个 {DocumentCollections}。 我想将一组选定的顶点和边从一个集合 (graphdb) 复制到另一个集合 (Tintin)。

我设法通过客户端传输所有数据来做到这一点,但如果数据保留在 Azure 中会容易得多。因此,我在 Azure 门户 中尝试了一些 SQL,例如:

SELECT *
INTO Tintin 
FROM graphdb;

然而,这似乎不受支持。

现在你不能加入多个集合,你查询违反了这个规则。

但我认为你的想法 +1,你应该 post 在 https://feedback.azure.com/