Implement the pipeline described in internal/expr/doc.go.
Move the SQL generation to the query stage to generate it alongside the query parameters.
Change TypedExpr from containing lists of inputs outputs and the SQL to containing a typed versions of the expressions. This means it also retains the same shape as the ParsedExpr.
Move the functions bindOutputTypes and bindInputTypes methods on parsed input and output expressions.
Change TypedExpr to TypeBoundExpr. This is to remove the confusion with the name of the type constituents typedExpression.
Implement the pipeline described in
internal/expr/doc.go
.TypedExpr
from containing lists of inputs outputs and the SQL to containing a typed versions of the expressions. This means it also retains the same shape as theParsedExpr
.bindOutputTypes
andbindInputTypes
methods on parsed input and output expressions.TypedExpr
toTypeBoundExpr
. This is to remove the confusion with the name of the type constituentstypedExpression
.