WithClause represents a WITH clause in a SQL statement. It supports both simple and recursive Common Table Expressions (CTEs). Phase 2 Complete: Full parser integration with all statement types.
| 105 | // It supports both simple and recursive Common Table Expressions (CTEs). |
| 106 | // Phase 2 Complete: Full parser integration with all statement types. |
| 107 | type WithClause struct { |
| 108 | Recursive bool |
| 109 | CTEs []*CommonTableExpr |
| 110 | Pos models.Location // Source position of the WITH keyword (1-based line and column) |
| 111 | } |
| 112 | |
| 113 | func (w *WithClause) statementNode() {} |
| 114 | func (w WithClause) TokenLiteral() string { return "WITH" } |
nothing calls this directly
no outgoing calls
no test coverage detected