2022-03-09 16:32:01 +01:00
{
"name": "BETWEEN",
"type": "operator",
"groups": ["Operators"],
2022-03-15 12:06:13 +01:00
"description": "Returns TRUE if value is within the specified range. The range is considered inclusive of the bounds. To test for exclusion `NOT BETWEEN` can be used.",
2022-03-09 16:32:01 +01:00
"arguments": [{
"arg": "lower_bound AND higher_bound",
"description": "range bounds"
}],
"examples": [{
"expression": "'B' BETWEEN 'A' AND 'C'",
2022-03-15 12:06:13 +01:00
"returns": "TRUE"
2022-03-09 16:32:01 +01:00
}, {
2022-03-14 13:45:49 +01:00
"expression": "2 BETWEEN 1 AND 3",
2022-03-15 12:06:13 +01:00
"returns": "TRUE"
2022-03-09 16:32:01 +01:00
}],
"tags": ["contained", "found"]
}