Hi,
I need to find all objects which doesn't have any categories.
At the moment I've tried something like this:
query = query.Filter(x => x.SearchCategories.IsNull().Match(true));
But it doesn't work. Is it possible to search for null values?
You should be able to use .Exists():
query = query.Filter(x => x.SearchCategories.Exists());
Thank you! It works beautifuly.
Ended using it like this:
query = query.Filter(x => !x.SearchCategories.Exists());
Hi,
I need to find all objects which doesn't have any categories.
At the moment I've tried something like this:
query = query.Filter(x => x.SearchCategories.IsNull().Match(true));
But it doesn't work. Is it possible to search for null values?