Ask Your Question
2

What is 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?

asked 2023-05-27 13:19:39 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-27 13:27:02 +0000

david gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-27 13:19:39 +0000

Seen: 17 times

Last updated: May 27 '23