private function makeArrayQueryBetween(Builder $query, stdClass $rule, $operator, array $value, $condition)
    {
        if (count($value) !== 2) {
            throw new QBParseException("{$rule->field} should be an array with only two items.");
        }

        if ( $operator == 'NOT BETWEEN' ) {
            return $query->whereNotBetween( $rule->field, $value, $condition );
        }

        return $query->whereBetween($rule->field, $value, $condition);
    }