DEV Community

Discussion on: C# Azure Functions to access CosmosDB

Collapse
 
stimms profile image
Simon Timms

I was surprised that the update scenario took so much code and that the bindings weren't better for it. I went and looked at the input binding docs and found

When the function exits successfully, any changes made to the input document via named input parameters are automatically persisted.
Enter fullscreen mode Exit fullscreen mode

So I think maybe that example could be simplified into a variant of the loading a doc version.