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": "Subtraction 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":"1"},
|
2020-08-02 09:53:34 +02:00
|
|
|
{ "expression":"5 - NULL", "returns":"NULL"},
|
|
|
|
{ "expression":"to_datetime('2012-05-05 12:00:00') - to_interval('1 day 2 hours')", "returns":"2012-05-04T10:00:00"}
|
2015-09-20 17:12:43 +02:00
|
|
|
]
|
|
|
|
}
|