wip: add joins to the select

This commit is contained in:
alpaylan
2025-07-06 14:46:38 -04:00
parent c28c83fa2c
commit 0bce68b38d
25 changed files with 1093 additions and 300 deletions

View File

@@ -30,11 +30,13 @@ impl ToSqlString for Expr {
ret.push_str(&end.to_sql_string(context));
}
Expr::Binary(lhs, op, rhs) => {
ret.push('(');
ret.push_str(&lhs.to_sql_string(context));
ret.push(' ');
ret.push_str(&op.to_string());
ret.push(' ');
ret.push_str(&rhs.to_sql_string(context));
ret.push(')');
}
Expr::Case {
base,