visitDriftSpecificNode method
If a nested query was found. Collect everything separately.
Implementation
@override
void visitDriftSpecificNode(DriftSpecificNode e, void arg) {
if (e is NestedQueryColumn) {
// create a new scope for the nested query to differentiate between
// references that can be resolved in the nested query and references
// which require data from the parent query
e.select.scope = MiscStatementSubScope(e.scope as StatementScope);
}
super.visitDriftSpecificNode(e, arg);
}