range_tbl_entry.go 923 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type RangeTblEntry struct {
  6. Rtekind RTEKind
  7. Relid Oid
  8. Relkind byte
  9. Tablesample *TableSampleClause
  10. Subquery *Query
  11. SecurityBarrier bool
  12. Jointype JoinType
  13. Joinaliasvars *ast.List
  14. Functions *ast.List
  15. Funcordinality bool
  16. Tablefunc *TableFunc
  17. ValuesLists *ast.List
  18. Ctename *string
  19. Ctelevelsup Index
  20. SelfReference bool
  21. Coltypes *ast.List
  22. Coltypmods *ast.List
  23. Colcollations *ast.List
  24. Enrname *string
  25. Enrtuples float64
  26. Alias *Alias
  27. Eref *Alias
  28. Lateral bool
  29. Inh bool
  30. InFromCl bool
  31. RequiredPerms AclMode
  32. CheckAsUser Oid
  33. SelectedCols []uint32
  34. InsertedCols []uint32
  35. UpdatedCols []uint32
  36. SecurityQuals *ast.List
  37. }
  38. func (n *RangeTblEntry) Pos() int {
  39. return 0
  40. }