mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 18:24:20 +01:00
wip: add joins to the select
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user