odata-basics-handsonsapdev icon indicating copy to clipboard operation
odata-basics-handsonsapdev copied to clipboard

Filter query : Categories with fewer than 10 products not working

Open TravelTechCode opened this issue 2 years ago • 0 comments

Hi DJ, First of all Thanks for the amazing content on odata filter.

the filter query Categories?$filter=Products/$count lt 10 does not work and throws an error . I am running it via postman

this is my whole query https://developer-challenge.cfapps.eu10.hana.ondemand.com/odata/v4/northbreeze/Categories?$filter=Products/$count lt 10

Is there any changes in the filters ?? { "error": { "code": "500", "message": "/An association can't be used as a value in an expression/" } }

TravelTechCode avatar Sep 04 '23 15:09 TravelTechCode