Parses SQL (potentially containing MJ template tokens) into a QueryIR.
Raw SQL with potential {{query:"..."}}, {{ var }}, {% %} tokens
SQL dialect for parsing and identifier quoting
Structural IR for composition manipulation
Use QueryTemplate.Parse(sql, dialect) for the template layer and SqlDocument.Parse for the SQL.
QueryTemplate.Parse(sql, dialect)
SqlDocument.Parse
Parses SQL (potentially containing MJ template tokens) into a QueryIR.