Azure / azure-cosmosdb-node

We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
https://github.com/Azure/azure-sdk-for-js
MIT License
141 stars 108 forks source link

Aggregate query on single partition collection may return multiple values #224

Closed khdang closed 5 years ago

khdang commented 6 years ago

The right behavior is the SDK doing the aggregation and return a single value for aggregate queries.

https://stackoverflow.com/questions/47875869/why-does-select-count1-from-c-change-values-each-time-i-query-it-in-cosmosdb-d

southpolesteve commented 5 years ago

We have recently announced deprecation version 1.x of the Azure Cosmos JavaScript SDK. We will end support for the documentdb package and this repo on August 30, 2020. Please update to our new package @azure/cosmos as soon as possible. If you encounter any issues, you can raise them in the Azure central JS SDK repo. If something is preventing you from upgrading to the latest version of the SDK, you can always email me directly: stfaul@microsoft.com