|
|
@ -349,7 +349,7 @@ public sealed class Binder : DatabaseVisitor
|
|
|
|
var alias = Alias.New();
|
|
|
|
var alias = Alias.New();
|
|
|
|
var pc = ProjectColumns(projection.Projector, alias, projection.Select.Alias);
|
|
|
|
var pc = ProjectColumns(projection.Projector, alias, projection.Select.Alias);
|
|
|
|
|
|
|
|
|
|
|
|
return new ProjectionExpression(new SelectExpression(alias, pc.Columns, projection.Select, where), pc.Projector);
|
|
|
|
return new ProjectionExpression(new SelectExpression(alias, pc.Columns, projection.Select.From, where), pc.Projector);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private ProjectionExpression VisitSequence(Expression source) => ConvertToSequence(Visit(source));
|
|
|
|
private ProjectionExpression VisitSequence(Expression source) => ConvertToSequence(Visit(source));
|
|
|
|