ra0o0f / arangoclient.net

ArangoDB .NET Client with LINQ support
Apache License 2.0
99 stars 37 forks source link

NOT IN using LINQ doesn't work #106

Open logiclabs opened 6 years ago

logiclabs commented 6 years ago

Using NOT in AQL queries doesn't seem to work correctly for some operators.

For example, NOT IN linq query: dbq.Where(ev => !AQL.In(ev.Category, new [] {"a","b"}));

generates AQL filter: filter not ev.Category in ['a','b']

This looks OK, but the statement doesn't work correctly, and returns no results.

Alternatives that give correct results are: