Diego Reis
3834f441c4
Accept parsing SET statements with repeated names, like `.. SET (a, a) =
...
(1, 2)`
2025-07-31 00:08:12 -03:00
meteorgan
b5a18d7dc9
fix get_column_name() when column name doesn't exist
2025-07-25 23:49:31 +08:00
bit-aloo
3cb2db933d
remove Id
2025-07-24 14:40:24 +05:30
bit-aloo
9a54ef214e
parser: Distinguish quoted identifiers and unify Id into Name enum
...
This commit replaces the `Name(pub String)` struct with a `Name` enum that
explicitly models how the name appeared in the source either as an
unquoted identifier (`Ident`) or a quoted string (`Quoted`).
In the process, the separate `Id` wrapper type has been coalesced into the
`Name` enum, simplifying the AST and reducing duplication in identifier
handling logic.
While this increases the size of some AST nodes (notably `yyStackEntry`),
it improves correctness and makes source structure more explicit for
later phases.
2025-07-24 14:40:19 +05:30
Levy A.
714225b9f0
remove ToSqlString trait
2025-07-16 12:16:34 -03:00
Levy A.
6fe2505425
add more ToTokens impls
2025-07-16 12:16:31 -03:00
Levy A.
373a4a26c4
fix: comma function
2025-07-16 12:16:28 -03:00
Levy A.
765b90aeb9
feat: implement ToTokens for UpdatePlan
2025-07-16 12:16:23 -03:00
Nils Koch
828d4f5016
fix clippy errors for rust 1.88.0 (auto fix)
2025-07-12 18:58:41 +03:00
Levy A.
25927d91d8
cargo fmt
2025-06-30 14:37:51 -03:00
Levy A.
ffd6844b5b
refactor: remove PseudoTable from Table
...
the only reason for `PseudoTable` to exist, is to provide column
information for `PseudoCursor` creation. this should not be part of the
schema.
2025-06-30 14:31:58 -03:00
Pekka Enberg
725c3e4ddc
Rename limbo_sqlite3_parser crate to turso_sqlite3_parser
2025-06-29 12:34:46 +03:00
meteorgan
fd09675d8c
clean up
2025-06-13 10:39:36 +03:00
meteorgan
6179d8de23
refactor compound select
2025-06-13 10:39:32 +03:00
pedrocarlo
3c1b984b78
use table_references for PlanContext
2025-06-04 12:06:43 -03:00
pedrocarlo
ebee9516ba
clippy
2025-06-04 12:06:43 -03:00
pedrocarlo
5f379fe2d6
when no context is needed use Display Impl
2025-06-04 12:06:43 -03:00
pedrocarlo
bfc8cb6d4c
move display and to_sql_string impls to separate modules for plan
2025-06-04 12:06:43 -03:00