Replies: 2 comments 1 reply
-
|
@edezhic Limbo follows the same architecture as SQLite of converting the SQL queries into bytecode programs very early on. The parser does generate some AST but probably want to flatten it to improve prepare() performance. So It's not clear Limbo will have the kind of AST builder you're looking for. But maybe @jussisaurio is a better person to give an answer here. |
Beta Was this translation helpful? Give feedback.
-
|
A shiny example of a type-safe SQL query builder is Kysely for TypeScript. With Kysely, you can construct queries with static typing and TypeScript-driven editor autocompletion. It would be fantastic if Turso built a similar feature more deeply into its engine. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I'm building an app framework(prest) and I want an embedded rust-based database integrated into it. As of now I'm rolling with gluesql, but after the limbo announcement I started thinking that it might make sense to switch. One of the things I like about gluesql is ast builder, especially rusty syntax + type checking and injection-free nature of it. As a bonus it also removes the need to parse queries. Do you plan anything like that? To export ast nodes in your public api and allow building/executing queries from them.
Beta Was this translation helpful? Give feedback.
All reactions