2015-09-20 17:12:43 +02:00
|
|
|
{
|
|
|
|
"name": "+",
|
|
|
|
"type": "operator",
|
2021-05-12 09:50:23 +02:00
|
|
|
"groups": ["Operators"],
|
2015-09-20 17:12:43 +02:00
|
|
|
"description": "Addition of two values. If one of the values is NULL the result will be NULL.",
|
|
|
|
"arguments": [
|
|
|
|
{ "arg": "a", "description": "value" },
|
|
|
|
{ "arg": "b", "description": "value" }
|
|
|
|
],
|
|
|
|
"examples": [
|
|
|
|
{ "expression":"5 + 4", "returns":"9"},
|
2020-08-02 09:53:34 +02:00
|
|
|
{ "expression":"5 + NULL", "returns":"NULL"},
|
|
|
|
{ "expression":"'QGIS ' + 'ROCKS'", "returns":"'QGIS ROCKS'"},
|
|
|
|
{ "expression":"to_datetime('2020-08-01 12:00:00') + '1 day 2 hours'", "returns":"2020-08-02T14:00:00"}
|
2015-09-20 17:12:43 +02:00
|
|
|
]
|
|
|
|
}
|