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] Commented: (ODATA-245) any() and all() are missing from Core Part I/Protocol and Core Part 2/URL Conventions


    [ http://tools.oasis-open.org/issues/browse/ODATA-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32347#action_32347 ] 

Ralf Handl commented on ODATA-245:
----------------------------------

Isn't that already covered by ODATA-72?

> any() and all() are missing from Core Part I/Protocol and Core Part 2/URL Conventions
> -------------------------------------------------------------------------------------
>
>                 Key: ODATA-245
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-245
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>         Environment: [Proposed]
>            Reporter: Michael Pizzo
>
> any() and all() are popular functions for filtering a set based on membership of subcollections. These functions are part of the ABNF construction rules but are not described anywhere and do not appear in the list of canonical functions that can be used in $filter/$sort.
> For example:
>     http://host/service.svc/Orders?$filter=OrderLines/any(ol: ol/Quantity gt 10)
> returns Orders that have any Orderlines with a Quantity greater than 10.
> and:
>     http://host/service.svc/Orders?$filter=OrderLines/all(ol: ol/Quantity gt 10)
> returns Orders for which all Orderlines have a Quantity greater than 10.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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