whereTableIn method

Query whereTableIn(
  1. dynamic column,
  2. String getQueryTable
)

Implementation

Query whereTableIn(column, String getQueryTable) {
  if (!_lastQuery.contains('WHERE')) {
    _lastQuery += ' WHERE ';
  } else {
    _lastQuery += ' OR ';
  }
  _lastQuery += ' $column IN ( $getQueryTable ) ';
  return this;
}