CosmosDb LINQ query 'any' does not work but 'count() > 0' does?

Viewed 384

I've got a Cosmos db linq query, and if I call 'Any()' on that query, it gives me the following exception:

Compositions of aggregates and other expressions are not allowed.

But if I use 'Count() > 0' it does what I need. I thought 'any' was supported now? (Link)

Any thoughts on what the above exception means? Is it a bug in the CosmosDb client?

1 Answers
Related