OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1241) Extend in operator to allow comparison with multiple properties


Ralf Handl created ODATA-1241:
---------------------------------

             Summary: Extend in operator to allow comparison with multiple properties
                 Key: ODATA-1241
                 URL: https://issues.oasis-open.org/browse/ODATA-1241
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
          Components: URL Conventions
    Affects Versions: V4.01_CS01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.01_CS02


The {{in}} operator allows comparing a property to a list of values, e.g.
{code:java}
$filter=Name in ('Milk', 'Cheese'){code}
For multi-part keys it would be helpful to allow comparison of a tuple of properties to a list of value tuples:
{code:java}
$filter=(Firstname,Lastname) in (('John', 'Doe'),('Jane','Smith')){code}
Â



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]