Nikita Sivukhin
12b89fd2f1
do not use Name::new
2025-09-26 13:01:49 +04:00
Piotr Rzysko
1a95131c3c
Include windows in ToTokens for SelectPlan
2025-09-13 11:12:44 +02:00
Jussi Saurio
f469113d9f
Don't crash if DELETE uses index
2025-09-10 14:54:51 +03:00
Pekka Enberg
44357f93a2
Merge branch 'main' into 2025-08-21-make-limit-and-offset-expr
2025-09-04 09:54:45 +03:00
TcMits
4ddfdb2a62
finish
2025-08-27 14:58:35 +07:00
bit-aloo
a3b87cd97f
add review comments
2025-08-26 19:56:25 +05:30
bit-aloo
ffcadd00ae
evaluate limit or offset expr
2025-08-26 19:56:12 +05:30
Pekka Enberg
26ba09c45f
Revert "Merge 'Remove double indirection in the Parser' from Pedro Muniz"
...
This reverts commit 71c1b357e4 , reversing
changes made to 6bc568ff69 because it
actually makes things slower.
2025-08-26 14:58:21 +03:00
pedrocarlo
d3240844ec
refactor Core to remove the double indirection
2025-08-25 22:59:31 -03:00
TcMits
3cd0ebe22f
clippy
2025-08-24 14:40:48 +07:00
TcMits
9e4f3b41ef
correctly implement get_column_name
2025-08-24 14:07:46 +07:00
TcMits
399f10fe9a
refactor parser fmt
2025-08-23 19:16:26 +07:00
Levy A.
4ba1304fb9
complete parser integration
2025-08-21 15:23:59 -03:00
Levy A.
186e2f5d8e
switch to new parser
2025-08-21 15:19:16 -03:00
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