Suppose we have Cosmos DB documents of the following form:
{ "propA": [1, 2, 3],
"propB": [7, 2, 4, 2] }
Is it possible to write a query that returns all documents where at least one element in propA
is a member of propB
(in order words, where the two properties have a non-empty intersection)?
And if yes, is it also possible using LINQ (and the .NET Cosmos Client)?