#47812Query support for BETWEEN
Description
I would like to introduce the between-operator into the query class. This would allow shorter queries, and maybe a better performance for queries currently relying on two conditions.
So instead of
$query->logicalAnd( $query->greaterThanOrEqual($propertyName, $operand), $query->lessThanOrEqual($propertyName, $operand) );
One could simply write
$query->logicalAnd( $query->between($propertyName, $minOperand, $maxOperand) );
What do you think?