You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to create a query that searches for all products with at least one document in the document_ids property. However, I have the impression that the Not, Equals, etc. clauses do not work.
How should I write my clause?
var repositoryProduct = new OdooRepository<ProductProductOdooModel>(_config);
var productResult = AsyncHelper.RunSync(() => repositoryProduct
.Query()
.WebOnly()
.Where(p => p.DocumentIds, OdooOperator.NotLike, Array.Empty<long>())
.Skip(nbrToSkip)
.Take(nbrToTake)
.ToListAsync());
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to create a query that searches for all products with at least one document in the document_ids property. However, I have the impression that the Not, Equals, etc. clauses do not work.
How should I write my clause?
Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions