Skip to content

Commit 38fce4b

Browse files
authored
Merge pull request #10137 from joostverhoog/any-support
11.3.0 is clear about 'any' filter that it does not support
2 parents 276800e + 6e35a04 commit 38fce4b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/en/docs/refguide/modeling/integration/odata-services/published-odata-services/supported-odata-operations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ You can filter on the attributes of an associated entity. The syntax depends on
122122

123123
Filtering on an associated object or list in this way is possible only when you [expose associations as a link](/refguide/odata-representation/#associations). It is not possible when you expose associations as an associated object ID.
124124

125+
For many-to-many associations, some expressions that filter on an associated list are not supported. An example of such an unsupported filter is `City?$filter=HasLivedIn/any(person:person/Year le 1919 and person/Name eq Name)`, where the `HasLivedIn` association is many-to-many. For this request, the service will respond with `501 Not Implemented`. In general, an associated list filter on a many-to-many association that uses the variable (in this example, `person`) more than once and refers back over the association (in this example, to the `Name` of the person) will result in `501 Not Implemented`.
126+
125127
##### Arithmetic Operators
126128

127129
The use of arithmetic operators such as `add`, `sub`, `mul`, `div`, and `mod` in filter expressions is not supported.

content/en/docs/refguide10/modeling/integration/odata-services/published-odata-services/supported-odata-operations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ You can filter on the attributes of an associated entity. The syntax depends on
122122

123123
Filtering on an associated object or list in this way is possible only when you [expose associations as a link](/refguide10/odata-representation/#associations). It is not possible when you expose associations as an associated object ID.
124124

125+
For many-to-many associations, some expressions that filter on an associated list are not supported. An example of such an unsupported filter is `City?$filter=HasLivedIn/any(person:person/Year le 1919 and person/Name eq Name)`, where the `HasLivedIn` association is many-to-many. For this request, the service will respond with `501 Not Implemented`. In general, an associated list filter on a many-to-many association that uses the variable (in this example, `person`) more than once and refers back over the association (in this example, to the `Name` of the person) will result in `501 Not Implemented`.
126+
125127
##### Arithmetic Operators
126128

127129
The use of arithmetic operators such as `add`, `sub`, `mul`, `div`, and `mod` in filter expressions is not supported.

0 commit comments

Comments
 (0)