compile method
Writes this expression's SQL, binding any values through parameters.
Implementation
@override
String compile(MssqlParameterAllocator parameters, MssqlDialect dialect) {
if (query.projectionCount != 1) {
throw StateError('An IN subquery must select exactly one expression.');
}
return '${operand.compile(parameters, dialect)} '
'${negated ? 'NOT IN' : 'IN'} '
'(${query.compileInto(parameters, dialect, nested: true)})';
}