Skip to content

Commit

Permalink
Heiko's suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Heiko Theißen <[email protected]>
  • Loading branch information
ralfhandl and HeikoTheissen authored Dec 18, 2023
1 parent 9ffa243 commit 7bf2210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion odata-protocol/11 Data Service Requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ a `null` literal that can be used in comparisons.
<table>
<tr><th>Function</th><th>Example</th></tr>
<tr><td colspan="2"><strong>String and Collection Functions</strong></td></tr>
<tr><td><code>concat</code></td><td><pre><code>concat(City,', ', Country) eq 'Berlin, Germany'</code></pre></td></tr>
<tr><td><code>concat</code></td><td><pre><code>concat(City,', ',Country) eq 'Berlin, Germany'</code></pre></td></tr>
<tr><td><code>contains</code></td><td><pre><code>contains(CompanyName,'freds')</code></pre></td></tr>
<tr><td><code>endswith</code></td><td><pre><code>endswith(CompanyName,'Futterkiste')</code></pre></td></tr>
<tr><td><code>indexof</code></td><td><pre><code>indexof(CompanyName,'lfreds') eq 1</code></pre></td></tr>
Expand Down
10 changes: 5 additions & 5 deletions odata-url-conventions/5 Query Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,17 +539,17 @@ The `concat` function has three overloads, with the following
signatures:

```
Edm.String concat(Edm.String,...,Edm.String)
Collection concat(Collection,...,Collection)
OrderedCollection concat(OrderedCollection,...,OrderedCollection)
Edm.String concat(Edm.String,,Edm.String)
Collection concat(Collection,,Collection)
OrderedCollection concat(OrderedCollection,,OrderedCollection)
```

The `concat` function with string parameter values returns a string whose
value is the combined text of the strings provided.
value is the concatenation of the strings provided.

The concat function with collection parameter values returns a
collection whose items are the items of the collections provided.
If all provided collections are ordered, the result is also ordered.
If all provided collections are ordered, the result is the ordered concatenation of the provided collections.

The `concatMethodCallExpr` syntax rule defines how the `concat` function
is invoked.
Expand Down

0 comments on commit 7bf2210

Please sign in to comment.