You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
Hi, I am using python Azure functions with CosmosDB output binding, I want to update my container regularly and the items need to be the latest copies, not the previous ones. the doc.set method gives 409 error since the items have the uid field same but some other field changes every time the function runs, lets say the timestamp, how can upsert the item? I cannot remove the unique key feature. Is there any other method than .set() ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am using python Azure functions with CosmosDB output binding, I want to update my container regularly and the items need to be the latest copies, not the previous ones. the doc.set method gives 409 error since the items have the uid field same but some other field changes every time the function runs, lets say the timestamp, how can upsert the item? I cannot remove the unique key feature. Is there any other method than .set() ?
The text was updated successfully, but these errors were encountered: