Skip to content

Commit

Permalink
Heiko's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Sep 27, 2024
1 parent 0dcadcf commit c5df077
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/odata-url-conventions/odata-url-conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@ <h3 id="513-system-query-option-expand"><a id="SystemQueryOptionexpand" href="#S
<pre><code>http://host/service/Customers?$expand=Addresses/Country</code></pre>
</div>
<p>A path MUST NOT appear in more than one expand item.</p>
<p>Query options can be applied to an expanded navigation property by appending a semicolon-separated list of query options, enclosed in parentheses, to the navigation property name. Allowed system query options are <a href="#SystemQueryOptioncompute"><code>$compute</code></a>, <a href="#SystemQueryOptionselect"><code>$select</code></a>, <code>$expand</code>, and <a href="#ExpandOptionlevels"><code>$levels</code></a> for all navigation properties, plus <a href="#SystemQueryOptionfilter"><code>$filter</code></a>, <a href="#SystemQueryOptionorderby"><code>$orderby</code></a>, <a href="#SystemQueryOptionstopandskip"><code>$skip</code></a>, <a href="#SystemQueryOptionstopandskip"><code>$top</code></a>, <a href="#SystemQueryOptioncount"><code>$count</code></a>, and <a href="#SystemQueryOptionsearch"><code>$search</code></a> for collection-valued navigation properties. The same system query option, irrespective of casing or whether or not it is prefixed with a <code>$</code>, MUST NOT be specified more than once for a collection-valued navigation property.</p>
<p>Query options can be applied to an expanded navigation property by appending a semicolon-separated list of query options, enclosed in parentheses, to the navigation property name. The system query option, irrespective of casing or whether or not it is prefixed with a <code>$</code>, MUST NOT be specified more than once in the list. Allowed system query options are <a href="#SystemQueryOptioncompute"><code>$compute</code></a>, <a href="#SystemQueryOptionselect"><code>$select</code></a>, <code>$expand</code>, and <a href="#ExpandOptionlevels"><code>$levels</code></a> for all navigation properties, plus <a href="#SystemQueryOptionfilter"><code>$filter</code></a>, <a href="#SystemQueryOptionorderby"><code>$orderby</code></a>, <a href="#SystemQueryOptionstopandskip"><code>$skip</code></a>, <a href="#SystemQueryOptionstopandskip"><code>$top</code></a>, <a href="#SystemQueryOptioncount"><code>$count</code></a>, and <a href="#SystemQueryOptionsearch"><code>$search</code></a> for collection-valued navigation properties.</p>
<div class="example">
<p>Example 124: all categories and for each category all related products with a discontinued date equal to <code>null</code></p>
<pre><code>http://host/service/Categories?$expand=Products($filter=DiscontinuedDate eq null)</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions docs/odata-url-conventions/odata-url-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3624,6 +3624,8 @@ A path MUST NOT appear in more than one expand item.
Query options can be applied to an expanded navigation property by
appending a semicolon-separated list of query options, enclosed in
parentheses, to the navigation property name.
The system query option, irrespective of casing or whether or not it is prefixed with a `$`,
MUST NOT be specified more than once in the list.
Allowed system query options are
[`$compute`](#SystemQueryOptioncompute),
[`$select`](#SystemQueryOptionselect),
Expand All @@ -3635,8 +3637,6 @@ Allowed system query options are
[`$count`](#SystemQueryOptioncount), and
[`$search`](#SystemQueryOptionsearch)
for collection-valued navigation properties.
The same system query option, irrespective of casing or whether or not it is prefixed with a `$`,
MUST NOT be specified more than once for a collection-valued navigation property.

::: example
Example 124: all categories and for each category all related products
Expand Down
4 changes: 2 additions & 2 deletions odata-url-conventions/5 Query Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -2050,6 +2050,8 @@ A path MUST NOT appear in more than one expand item.
Query options can be applied to an expanded navigation property by
appending a semicolon-separated list of query options, enclosed in
parentheses, to the navigation property name.
The system query option, irrespective of casing or whether or not it is prefixed with a `$`,
MUST NOT be specified more than once in the list.
Allowed system query options are
[`$compute`](#SystemQueryOptioncompute),
[`$select`](#SystemQueryOptionselect),
Expand All @@ -2061,8 +2063,6 @@ Allowed system query options are
[`$count`](#SystemQueryOptioncount), and
[`$search`](#SystemQueryOptionsearch)
for collection-valued navigation properties.
The same system query option, irrespective of casing or whether or not it is prefixed with a `$`,
MUST NOT be specified more than once for a collection-valued navigation property.

::: example
Example ##ex: all categories and for each category all related products
Expand Down

0 comments on commit c5df077

Please sign in to comment.