You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the exception hit by @FluentGuru was because he didn't set allowSynchronousQueryExecution to true (argument to GetItemLinqQueryable), so synchronous operations are rejected.
But if you do set allowSynchronousQueryExecution to true, you get this instead:
Microsoft.Azure.Cosmos.Linq.DocumentQueryException: 'Method 'LongCount' is not supported.'
Is there a reason why it's not supported? I mean, Int32 should be enough for most scenarios, but when there are more than 2^31 documents, what happens?
container.GetItemLinqQueryable().Where(predicate).LongCount()
throws aNotSupportedException
The text was updated successfully, but these errors were encountered: