orWhere method

Query orWhere(
  1. dynamic column,
  2. dynamic operator,
  3. dynamic value
)

Implementation

Query orWhere(column, operator, value) {
  if (!_lastQuery.contains('WHERE')) {
    _lastQuery += ' WHERE ';
  } else {
    _lastQuery += ' OR ';
  }

  _lastQuery += (column) + ' ' + (operator ?? '=') + ' ' + (checkIntType(value));
  return this;
}