window_clause.go 370 B

123456789101112131415161718192021
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type WindowClause struct {
  6. Name *string
  7. Refname *string
  8. PartitionClause *ast.List
  9. OrderClause *ast.List
  10. FrameOptions int
  11. StartOffset ast.Node
  12. EndOffset ast.Node
  13. Winref Index
  14. CopiedOrder bool
  15. }
  16. func (n *WindowClause) Pos() int {
  17. return 0
  18. }