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-144) "Scoping" syntax for $select and $aggregate

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

Michael Pizzo commented on ODATA-144:

I would suggest that, if we adopt the new syntax, we no longer support the path syntax for $select in the specification (services are free to support this older syntax for backwards compatibility with existing implementations.)

> "Scoping" syntax for $select and $aggregate
> -------------------------------------------
>                 Key: ODATA-144
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-144
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData URL Conventions v1.0
>    Affects Versions: WD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: WD01
> The current syntax for $select requires to qualify each single included property with its navigation path. We propose an alternative/additional syntax that allows grouping by path:
>     $select=Items/(Price,Currency,Quantity,Unit) 
> The same notation would be useful for the data aggregation extension:
>     $aggregate=Sales/(sum(Amount),average(Amount) as AvgAmt)

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]