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-827) introduce $compute query option

Hubert Heijkers created ODATA-827:

             Summary: introduce $compute query option
                 Key: ODATA-827
                 URL: https://issues.oasis-open.org/browse/ODATA-827
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData Extension for Data Aggregation, OData Protocol, OData URL Conventions
    Affects Versions: V4.0_WD01
         Environment: [Applied]
            Reporter: Andrew Eisenberg
             Fix For: V4.01_WD01, V4.0_CSD03

OData could be extended to allow expressions in the $select query option, allowing derived values to be returned along with the properties of an entity.

This could be expressed as:

http://odata.netflix.com/v2/Catalog/Titles?$select=Name,substring(ShortSynopsis,20) as Summary


http://odata.netflix.com/v2/Catalog/Titles?$select=Name&$extendedSelect=substring(ShortSynopsis,20) as Summary

This message was sent by Atlassian JIRA

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