conwid / AzureDocumentDbDriver

MIT License
23 stars 3 forks source link

Cannot set the partition key for queries/stored procedures [feature request] #5

Closed jefflafay closed 5 years ago

jefflafay commented 5 years ago

We use partition keys to partition tenants in some of our cosmos databases. I would like to be able to set the feed option property to allow this to happen, otherwise some queries take minutes to come back without the partition key when they should come back in milliseconds.

Not sure how it would work for stored procedures but I also need it for that as well. I tried running a stored procedure today and I received an exception stating that I was missing the partition key.

Thanks!

conwid commented 5 years ago

Added support for this in 2.2.0.0. Check out the wiki for more info.