mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 10:14:21 +01:00
merge main
This commit is contained in:
@@ -716,6 +716,11 @@ impl ToTokens for Expr {
|
||||
op.to_tokens(s, context)?;
|
||||
rhs.to_tokens(s, context)
|
||||
}
|
||||
Self::Register(reg) => {
|
||||
// This is for internal use only, not part of SQL syntax
|
||||
// Use a special notation that won't conflict with SQL
|
||||
s.append(TK_VARIABLE, Some(&format!("$r{reg}")))
|
||||
}
|
||||
Self::Case {
|
||||
base,
|
||||
when_then_pairs,
|
||||
|
||||
Reference in New Issue
Block a user