Adding a new property to Cosmos DB
问题 I've actually had quite a bit of trouble finding an answer to this question. If I create a new document in a collection, I can give it whatever properties I want. Is there a way to add a new property to all my documents? Cosmos DB seems to be resisting everything I've tried. Do I have to delete the existing documents and make new ones? It would be nice to know how to do this in C# code, if possible. Javascript is fine too, though. 回答1: CosmosDB does not support partial document updates so you