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-1456) Navigation path from instance to lambda operator


Heiko Theissen created ODATA-1456:
-------------------------------------

             Summary: Navigation path from instance to lambda operator
                 Key: ODATA-1456
                 URL: https://issues.oasis-open.org/browse/ODATA-1456
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: URL Conventions
            Reporter: Heiko Theissen
             Fix For: V4.01_ERRATA01


The section on [lambda operators|https://docs.oasis-open.org/odata/odata/v4.01/os/part2-url-conventions/odata-v4.01-os-part2-url-conventions.html#sec_LambdaOperators] states:
{quote}Other path expressions in the Boolean expression neither prefixed with the lambda variable nor $it are evaluated in the scope of the collection instances at the origin of the navigation path prepended to the lambda operator.
{quote}
But the navigation path does not necessarily originate in a collection, it can also be an instance, for example
{code}
Product('Sugar')?$compute=case(Sales/any(p:p/Amount gt 100) : WholesaleName, true : RetailName) as ProductName
{code}
Â



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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