Commit Graph

46 Commits

Author SHA1 Message Date
meteorgan
b5a18d7dc9 fix get_column_name() when column name doesn't exist 2025-07-25 23:49:31 +08:00
Levy A.
714225b9f0 remove ToSqlString trait 2025-07-16 12:16:34 -03:00
Levy A.
e81c7b07fb modify tests for new formatter 2025-07-16 12:16:31 -03:00
alpaylan
0b3fb2ecdd Merge branch 'main' of https://github.com/tursodatabase/limbo 2025-07-13 11:10:52 -04:00
Nils Koch
1a91966c7e fix clippy errors for rust 1.88.0 (manual fix) 2025-07-12 18:58:55 +03:00
alpaylan
c3d904b9ba remove automatic parenthesis insertion from binary and unary expressions 2025-07-11 11:08:21 -04:00
alpaylan
b0cf2ba92c add paranthesis to the unary expression printer 2025-07-06 14:58:29 -04:00
alpaylan
0bce68b38d wip: add joins to the select 2025-07-06 14:46:38 -04:00
Pekka Enberg
53ba3ff926 Rename limbo_core crate to turso_core 2025-06-29 09:59:17 +03:00
Nils Koch
2827b86917 chore: fix clippy warnings 2025-06-23 19:52:13 +01:00
pedrocarlo
470093ca03 fix generation for string literal 2025-06-11 11:32:17 -03:00
pedrocarlo
acb8a47911 sanitize string for ast::Literal 2025-06-11 11:31:47 -03:00
pedrocarlo
36f60e4dd1 Fix rowid to_sql_string printing 2025-06-10 10:48:05 -03:00
pedrocarlo
22d1a1eaa8 fix blob printing 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
f90bebbfbc small fix and remove dbg 2025-06-04 12:06:43 -03:00
pedrocarlo
6773dca595 impl ToSqlString for VACUUM stmt + tests 2025-06-04 12:06:43 -03:00
pedrocarlo
d86ff4dea3 impl ToSqlString for UPDATE stmt + tests 2025-06-04 12:06:42 -03:00
pedrocarlo
659ef8fcf7 impl ToSqlString for REINDEX, RELEASE, ROLLBACK, SAVEPOINT stmt + tests 2025-06-04 12:06:42 -03:00
pedrocarlo
e9cbd29dd1 impl ToSqlString for PRAGMA stmt + tests 2025-06-04 12:06:42 -03:00
pedrocarlo
260a26d612 impl ToSqlString for INSERT stmt + tests 2025-06-04 12:06:42 -03:00
pedrocarlo
5710976d95 impl ToSqlString for DROP INDEX, TABLE, TRIGGER, and VIEW stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
8ff0a3c780 impl ToSqlString for DETACH stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
0dc5ca668c test for DELETE + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
3b1da29b50 impl ToSqlString for DELETE stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
6ba6fae2c6 CREATE VIRTUAL TABLE tests 2025-06-04 12:06:42 -03:00
pedrocarlo
c8f9e29262 impl ToSqlString for CREATE VIRTUAL TABLE stmt + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
563ab2fdf3 impl ToSqlString for CREATE VIEW stmt + tests 2025-06-04 12:06:42 -03:00
pedrocarlo
87b9540b4a test for create trigger + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
a22d06cd66 impl ToSqlString for CREATE TRIGGER stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
ba215c8ba9 test for create table + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
8a7cc7669d impl ToSqlString for CREATE TABLE stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
a8f5257240 impl ToSqlString for CREATE INDEX stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
b47e3a990e impl ToSqlString for COMMIT stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
4f736daa7c impl ToSqlString for BEGIN stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
2a2132e479 impl ToSqlString for Attach stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
355e9a2c96 impl ToSqlString for analyze stmt 2025-06-04 12:06:42 -03:00
pedrocarlo
43b1d4f5da alter table tests + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
7fb3d40ec2 implement ToSqlString for AlterTable 2025-06-04 12:06:42 -03:00
pedrocarlo
e0c2a09d71 more tests for select + fixes 2025-06-04 12:06:42 -03:00
pedrocarlo
5b6ed60133 simpler select tests + fixes to printing 2025-06-04 12:06:42 -03:00
pedrocarlo
fb01541708 impl ToSqlString for Select 2025-06-04 12:06:42 -03:00
pedrocarlo
0b0e724f54 implement ToSqlString for Expr 2025-06-04 12:06:42 -03:00
pedrocarlo
1dc73bc49e initial stubs for ast::Select 2025-06-04 12:06:42 -03:00
pedrocarlo
2ac2990b4c to_sql_string trait definition 2025-06-04 12:06:42 -03:00