Skip to content
Advertisement

How to update a property in an Entity in Cosmos table API using Python

I have the below table in CosmosDB.

JavaScript

I want to update the Salary property in the first entity. When I tried to update the salary property in the first entity, the complete entity is being replaced instead of updating the salary property.

Could someone let me know how to update an property in a entity in CosmosDB table API.

JavaScript

Advertisement

Answer

Please try by changing the following lines of code:

JavaScript

with

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement