odata icon indicating copy to clipboard operation
odata copied to clipboard

Are nested queries supported?

Open tickingtime1 opened this issue 5 years ago • 0 comments

I am not able to make nested queries work (esp $expand and $filter)? Not sure if I am not doing it right or the operations are not supported yet?

GET SERVICE/Shipments?$expand=itinerary($expand=origin) This only expands itinerary and does not expand origin entity in it. I have 4-5 levels of nested entities and would like to expand all of them and also apply filters on it. I was wondering how would I achieve that

Also, are 'any', 'all' operators supported? GET SERVICE/Shipments?$filter=events/any(t:t/status eq 'completed') This gives a parsing exception "string matching regex '\(\s*' expected but 't' found"

Can anyone please help?

tickingtime1 avatar Jun 25 '20 10:06 tickingtime1