[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-144) "Scoping" syntax for $select and $aggregate
[ http://tools.oasis-open.org/issues/browse/ODATA-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-144: -------------------------------- Proposal: No longer relevant for $select, based on ODATA-32. We will adopt grouping of properties for $aggregate as the only way to specify multiple or aliased sub properties of a navigation. (was: Allow $select=Items/(Price,Currency,Quantity,Unit) as a shortcut for $select=Items/Price,Items/Currency,Items/Quantity,Items/Unit ) No longer relevant for $select, based on ODATA-32. We will adopt grouping of properties for $aggregate as the only way to specify multiple or aliased sub properties of a navigation. The parens are required only if you have more than one property or in the case that you use an as. legal: $aggregate=Items/Price $aggregate=Items/(Price) $aggregate=Items/(Price as AggregatePrice) $aggregate=Items/(Price,Amount) not legal: $aggregate=Items/Price as AggregatePrice $aggregate=Items/Price,Items/Amount > "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]