Versions in this module Expand all Collapse all v0 v0.12.0 Jun 11, 2026 v0.11.0 Jun 11, 2026 Changes in this version type Column + EmbedAs string + EmbedSlice bool + EmbedTable string + IsEmbed bool v0.5.0 Feb 9, 2026 v0.3.0 Feb 7, 2026 Changes in this version + func Parse(blk block.Block) (Query, []Diagnostic) + type CTE struct + Column int + Columns []string + Line int + Name string + SelectSQL string + type Column struct + Alias string + Column int + EndOffset int + Expr string + Line int + StartOffset int + Table string + type Diagnostic struct + Column int + EndColumn int + Length int + Line int + Message string + Offset int + Path string + Severity Severity + type Param struct + Column int + EndOffset int + IsVariadic bool + Line int + Name string + Order int + StartOffset int + Style ParamStyle + VariadicCount int + type ParamStyle int + const ParamStyleNamed + const ParamStylePositional + const ParamStyleUnknown + type Query struct + Block block.Block + CTEs []CTE + Columns []Column + Diagnostics []Diagnostic + Params []Param + Verb Verb + type Severity int + const SeverityError + const SeverityWarning + type Verb int + const VerbDelete + const VerbInsert + const VerbSelect + const VerbUnknown + const VerbUpdate