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-114) Allow /$count path suffix also for collection properties


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

Michael Pizzo commented on ODATA-114:
-------------------------------------

While we're at it, it would be great to be able to support /$count other places in the request (like $filter and $orderby) for either collections or navigations to many:
 
So, in addition to supporting this for collection properties:
    GET ~/Friend(6)/Interests/$count

We could support:

    GET ~/Friends?$filter=Interests/$count gt 10&$orderby=Interests/$count 

for either collection properties or navigations.


> Allow /$count path suffix also for collection properties
> --------------------------------------------------------
>
>                 Key: ODATA-114
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-114
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData ABNF Construction Rules v1.0, OData URL Conventions v1.0
>    Affects Versions: WD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>            Assignee: Ralf Handl
>            Priority: Minor
>             Fix For: WD01
>
>
> The path suffix /$count allows requesting the number of elements in a set as a raw value.

-- 
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]