- Convert restq to SQL
- with the records as arguments to a prepared statement (parameterized query)
- Blocked by, sqlparser don't support parameterize query yet.
- with the records as arguments to a prepared statement (parameterized query)
- Implement Update statement parser
- Implement Drop statement parser
- Implement Alter statment parser
-
- [X] Implement drop_column parser
-
- [X] Implement add_column parser
-
- [X] Implement rename column parser
- Support for money type using Bigdecimal crate
- Publish to crate.io ## Blocked by: - [X] sqlparser-rs (Problem: slow release cycle, busy main dev) - [X] -> Solution: release a fork crate name: sql-ast - [X] pom (expose method field in Parser) - [X] -> Solution: release a fork
- Implement
fmt::Display
onStatement
AST such asSelect
- Rename
Table
toTableName
andColumn
toColumnName
- Remove the user-friendly parsing of join such as
^-
and just use the arrows<-
The strict version works find in the url and just usepercent_decode
to get the original url text - Remove the parenthesis grouping of columns and just use braces.
- Implement conversion from sql statement to restq statement
- SQL -> sql-ast -> restq-ast -> restq(url)
- build the sql parser into restq using the simpler restq-ast
- use prql ast