[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-663) Clarify construction rules for calling function in $filter
[ https://tools.oasis-open.org/issues/browse/ODATA-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-663: ----------------------------- Environment: [Applied] (was: [Proposed]) > Clarify construction rules for calling function in $filter > ---------------------------------------------------------- > > Key: ODATA-663 > URL: https://tools.oasis-open.org/issues/browse/ODATA-663 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData ABNF Construction Rules, OData Protocol , OData URL Conventions > Affects Versions: V4.0_OS > Environment: [Applied] > Reporter: Michael Pizzo > Assignee: Ralf Handl > Fix For: V4.0_ERRATA01 > > > The protocol spec calls out that you can invoke a function in $filter using the namespace- or alias- qualified name, but does not clearly spell out the rules for invoking a bound function from the current resource. > Specifically, to call bound function in filter do you need to prefix with $it? > i.e., ~Products?$filter=$it/Model.GetPrice(3) gt 10 > or can I do > i.e., ~Products?$filter=Model.GetPrice(3) gt 10 ? > If the latter, then how do I differentiate between a bound function and an unbound function with the same non-binding parameters? -- 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]