Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The issue with using EF Core 6 and Cosmos DB to execute a query that includes a Count of a list within the entity inside the predicate is that it is not supported by Cosmos DB. Cosmos DB does not support server-side evaluations of expressions that involve collections or aggregates. This means that querying for entities based on the count of a list within them is not possible in Cosmos DB.