16 lines
593 B
Plaintext
Raw Normal View History

{
"name": "||",
"type": "operator",
"description": "Joins two values together into a string.\n\nIf one of the values is NULL the result will be NULL. See the CONCAT function for a different behavior.",
"arguments": [
{ "arg": "a", "description": "value" },
{ "arg": "b", "description": "value" }
],
"examples": [
{ "expression":"'Here' || ' and ' || 'there'", "returns":"'Here and there'"},
{ "expression":"'Nothing' || NULL", "returns":"NULL"},
{ "expression":"'Dia: ' || \"Diameter\"", "returns":"'Dia: 25'"},
{ "expression":"1 || 2", "returns":"'12'"}
]
}