common_table_expr.go 423 B

12345678910111213141516171819202122
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type CommonTableExpr struct {
  6. Ctename *string
  7. Aliascolnames *ast.List
  8. Ctequery ast.Node
  9. Location int
  10. Cterecursive bool
  11. Cterefcount int
  12. Ctecolnames *ast.List
  13. Ctecoltypes *ast.List
  14. Ctecoltypmods *ast.List
  15. Ctecolcollations *ast.List
  16. }
  17. func (n *CommonTableExpr) Pos() int {
  18. return n.Location
  19. }