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-1105) Simplify selection of properties of complex type


    [ https://issues.oasis-open.org/browse/ODATA-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=67178#comment-67178 ] 

Ralf Handl commented on ODATA-1105:
-----------------------------------

The first syntax proposal would suggests that we allow other query options within the parentheses, e.g. $expand, $top, or $skip.

I vote for the second syntax, which we already use in Data Aggregation within aggregate() expressions

    GET ~/Products?$apply=aggregate(Sales(Amount mul Product/TaxRate with sum as Tax))

and in context URLs, although so far in both cases for navigation paths.

    

> Simplify selection of properties of complex type
> ------------------------------------------------
>
>                 Key: ODATA-1105
>                 URL: https://issues.oasis-open.org/browse/ODATA-1105
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: URL Conventions
>    Affects Versions: V4.01_CSD02
>            Reporter: Michael Pizzo
>             Fix For: V4.01_CS01
>
>
> Currently, properties of complex types are individually selected, as in:
> $select=Name,Address/City,Address/State,Address/Zip
> We could simplify the syntax for selecting individual properties of a complex type, similar to expand options.  Something like:
> $select=Name, Address($select=City,State,Zip)
> or
> $select=Name, Address(City,State,Zip)



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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