orWhereDateNotBetween method

Query orWhereDateNotBetween(
  1. dynamic columnName,
  2. dynamic startValue,
  3. dynamic endValue
)

Implementation

Query orWhereDateNotBetween(columnName, startValue, endValue) {
  if (!_lastQuery.contains('WHERE')) {
    _lastQuery += ' WHERE ';
  } else {
    _lastQuery += ' OR ';
  }

  _lastQuery += ' $columnName NOT BETWEEN ${checkIntType(startValue)} AND ${checkIntType(endValue)}';

  return this;
}