You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add sample code link and SQL query parsing details
- Added a link to the complete sample code at Sample.csproj.
- Included explanation on parsing SQL queries into AST, converting back to SQL with ToSql, and inspecting structure using ToTreeString.
The complete code for the sample used here can be found at [Sample.csproj](https://github.com/mk3008/CarbunqleX/tree/91c752ba382df24238451bad0416bfd4f80bbf82/demo/Sample)
44
+
43
45
### **1. Parsing a SQL Query**
44
46
45
47
Let's start by parsing a simple SQL query into an AST using `QueryAstParser.Parse`. We will then convert it back to SQL with `ToSql` and inspect its structure using `ToTreeString`.
0 commit comments