Type: Function
Function: BETWEEN
Syntax: BETWEEN(number|datetime, start, end)
Description: Returns true
if the provided value is between (>=
and <=
) the start and end values.
Sample usage:
BETWEEN(lines_changed, 100, 1000)
returnstrue
iflines_change = 500
, returnsfalse
iflines_change = 1200
BETWEEN(created_at, BEGINNING_OF_YEAR, END_OF_YEAR)
=> returnstrue
if thecreated_at
field value is within the current year.