You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by Paul Boldijar <pa...@3sstudio.com> on 2014/12/05 17:05:04 UTC
Query derived classes with filters
Hey.
I'm using Olingo 4.
I have an entity A, and an entity B, which is derived from A.
I want to get all the B entities.
To do this, I can do
container.getAs().execute(BCollection.class);
or
container.getAs().createSearch(BCollection.class).getResult()
The problem I have, is that I also want to add a filter to my query.
If I add the filter at the end of the queries, there will be 2 requests,
one will query for every B entities, and second will do the filtered query.
What do you think I should try?
Thanks.