Files
turso/core/translate
Preston Thorpe 6b273af7e9 Merge 'translate/optimize: centralize AST/expr traversal' from Preston Thorpe
Previously we were rewriting/traversing the AST in a couple different
places, each of these added kinda ad-hoc as we needed them. This
attempts to do the binding of column references as well as the rewriting
of anonymous `Expr::Variable` -> `__param_N` that we use to maintain the
order of bound variables, also normalizes the Qualified Name's.
Also we previously weren't accepting Variable (or at least they wouldn't
work) in places like `LIMIT ? OFFSET ?`, which this PR adds.
I kinda want to keep refactoring translation a bit, and try to break
plan building up into more easy-to-digest chunks.. but I will resist the
urge right now as it's definitely not high priority pre-beta

Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com>

Closes #3210
2025-09-19 08:03:39 -04:00
..
2025-08-21 15:19:16 -03:00
2025-09-12 19:58:45 +07:00
2025-09-19 05:20:20 -04:00
2025-06-11 18:38:56 +02:00
2025-09-19 03:59:28 -05:00
2025-09-13 11:12:44 +02:00
2025-09-17 09:32:49 +03:00
2025-09-12 17:31:50 +07:00
2025-08-21 15:19:16 -03:00
2025-09-13 11:12:44 +02:00
2025-09-13 11:12:44 +02:00