You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Gaurav Garg (JIRA)" <ji...@apache.org> on 2014/02/24 11:15:19 UTC

[jira] [Created] (OLINGO-178) How to apply filter on target entity

Gaurav Garg created OLINGO-178:
----------------------------------

             Summary: How to apply filter on target entity
                 Key: OLINGO-178
                 URL: https://issues.apache.org/jira/browse/OLINGO-178
             Project: Olingo
          Issue Type: Wish
            Reporter: Gaurav Garg


Hi There,

My question is how we can apply filter query option on navigation property For example if I have an entity IdXref which has navigation property Issue
then how can I apply filter on property of Issue navigation property

any help is appricited
Thanks



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

RE: [jira] [Created] (OLINGO-178) How to apply filter on target entity

Posted by "Handl, Ralf" <ra...@sap.com>.
Hi Gaurav,

You can use a navigation property with cardinality 1 or 0..1 to filter the base set:

	GET ~/Orders?$filter=Customer/Country eq 'Australia'

This will return only orders for customers residing in Australia.

Hope this helps!
--Ralf


-----Original Message-----
From: Gaurav Garg (JIRA) [mailto:jira@apache.org] 
Sent: Monday, 24. February 2014 11:15
To: dev@olingo.incubator.apache.org
Subject: [jira] [Created] (OLINGO-178) How to apply filter on target entity

Gaurav Garg created OLINGO-178:
----------------------------------

             Summary: How to apply filter on target entity
                 Key: OLINGO-178
                 URL: https://issues.apache.org/jira/browse/OLINGO-178
             Project: Olingo
          Issue Type: Wish
            Reporter: Gaurav Garg


Hi There,

My question is how we can apply filter query option on navigation property For example if I have an entity IdXref which has navigation property Issue
then how can I apply filter on property of Issue navigation property

any help is appricited
Thanks



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)