xsqlparser
xsqlparser copied to clipboard
Fixes #52 - Adds a Filter field to sqlast.Function that is an optional pointer to an "ALL" or "DISTINCT" identifier. - Attempts to parse DISTINCT/ALL before the argument list of...
The parser fails with an error when parsing a `COUNT(DISTINCT ...)` expression. It seems that the AST cannot represent this expression. ### Example: ```go package main import ( "bytes" "log"...
I got a sample code below, however it can not parse ``` package main import ( "bytes" "log" "github.com/k0kubun/pp" "github.com/akito0107/xsqlparser" "github.com/akito0107/xsqlparser/dialect" "github.com/akito0107/xsqlparser/sqlast" ) func main() { parseCreate() } func parseCreate()...
It looks like *maybe* work was started on this, but not completed??
When I submit a query of "commit" it returns with an error.
It would be great to have a simple command which could do this. What do you think?