inSet method
Creates and Expression checking if the value in the column is included in the specified set of values. If the set is empty, the expression will always be false and match no rows.
Implementation
Expression inSet(Set<T> values) {
if (values.isEmpty) {
return Constant.bool(false);
}
var valuesAsExpressions =
values.map((e) => _encodeValueForQuery(e)).toList();
return _InSetExpression(this, valuesAsExpressions);
}