[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1002) Add build in functions operating on collections of primitive (and complex?) types
[ https://issues.oasis-open.org/browse/ODATA-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64287#comment-64287 ]
Ralf Handl edited comment on ODATA-1002 at 11/14/16 10:41 AM:
--------------------------------------------------------------
ODATA-556 defines an "in" operator that can be used to check if a string is an item of a collection of strings, e.g.
'Red' in ListOfColors
assuming that ListOfColors has Type="Collection(Edm.String)".
We could generalize that to "subset of", e.g.
('Red','Blue') in ListOfColors
was (Author: handl):
ODATA-556 defines an "in" operator that can be used to check if a string is an item of a collection of strings, e.g.
'Red' in ListOfColors
assuming that ListOfColors has Type="Collection(Edm.String)".
> Add build in functions operating on collections of primitive (and complex?) types
> ---------------------------------------------------------------------------------
>
> Key: ODATA-1002
> URL: https://issues.oasis-open.org/browse/ODATA-1002
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: New Feature
> Components: OData ABNF Construction Rules, OData Protocol, OData URL Conventions
> Affects Versions: V4.01_CSD02
> Reporter: Hubert Heijkers
>
> I'm getting more asks for people wanting to filter against properties representing a collection of primitive type, most notably Collection(Edm.String).
> Things like equal to, not equal to and containing a value or subset are the operations that people are looking to do the most. The size of the array they can get around by using /$count.
> Short of coming up with something ourselves I was wondering if this is a more generic ask and if we could maybe guide implementations as to how to support this kind of functionality in a more generic way.
--
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]