Inserting to a number of containers in azure cosmos db as one atomic operation

前端 未结 1 1637
野趣味
野趣味 2020-12-21 12:31

I\'m a little new to Azure Cosmos DB.

I wanted to know if it has an option to make a number of operations on multiple containers as one atomic operation. E.g., all s

相关标签:
1条回答
  • 2020-12-21 13:00

    Operations are atomic to a single operation in a single container. If you use a Stored Procedure, you may perform an atomic set of multiple operations within a single partition within a single container.

    You cannot perform any atomic operations across multiple containers, or across multiple partitions of a single container. This has nothing to do with which language environment (e.g. .NET as you mentioned) you're using. This is just how the Cosmos DB service works.

    0 讨论(0)
提交回复
热议问题