Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"function": "concat", | ||
"description": "Concatenates several strings to one.", | ||
"description": "Concatenates several strings to one. NULL values are converted to empty strings.", | ||
"variableLenArguments": true, | ||
"arguments": [ {"arg":"string1", "syntaxOnly": true}, | ||
{"arg":"string2", "syntaxOnly": true}, | ||
{"arg":"string", "descOnly": true, "description":"a string value"}], | ||
"examples": [ { "expression":"concat('a','b','c','d','e')", "returns":"'abcde'"}] | ||
"examples": [ { "expression":"concat('a','b','c','d','e')", "returns":"'abcde'"}, | ||
{ "expression":"concat('The Wall', NULL)", "returns":"'The Wall'"}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h3>|| concatenation operator</h3> | ||
<p>Joins two values together into a string.</p> | ||
<p>If one of the values is NULL the result will be NULL. See the CONCAT function for a different behavior.</p> | ||
|
||
<h4>Syntax</h4> | ||
<pre> value1 || value2</pre> | ||
|
||
<h4>Arguments</h4> | ||
None | ||
|
||
<h4>Examples</h4> | ||
<pre> 'Here ' || 'and ' || 'there' → 'Here and there' </pre> | ||
<pre> 'Nothing' || NULL → NULL </pre> | ||
<pre> 1 || 2 → '12' </pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters