aaronpowell / FSharp.CosmosDb

An F# wrapper around Cosmos DB's .NET SDK to make it more friendly for F# developers
MIT License
79 stars 12 forks source link

Any chance of UPSERT support? #43

Closed PhalanxHead closed 3 years ago

PhalanxHead commented 4 years ago

Hey! This is a really handy package, I am enjoying playing with it. Any chance of supporting the UPSERT command from Cosmos?

My current method is to query for matching IDs and Insert the difference, but I feel like UPSERT would be more idiomatic.

Thanks!

aaronpowell commented 3 years ago

I've added this in https://github.com/aaronpowell/FSharp.CosmosDb/commit/0f8dd3d1954cb50faa28ecd221385af53012b34e, and will cut a new release shortly, but in the meantime you can grab the nupkg's from https://github.com/aaronpowell/FSharp.CosmosDb/runs/1508486517?check_suite_focus=true or use the 0.3.0 pre-release packages from https://github.com/aaronpowell?tab=packages&repo_name=FSharp.CosmosDb

aaronpowell commented 3 years ago

It's available on NuGet now.