partition_bound_spec.go 273 B

1234567891011121314151617
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type PartitionBoundSpec struct {
  6. Strategy byte
  7. Listdatums *ast.List
  8. Lowerdatums *ast.List
  9. Upperdatums *ast.List
  10. Location int
  11. }
  12. func (n *PartitionBoundSpec) Pos() int {
  13. return n.Location
  14. }