-
Notifications
You must be signed in to change notification settings - Fork 732
/
query.go
44 lines (42 loc) · 951 Bytes
/
query.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package ast
type Query struct {
CommandType CmdType
QuerySource QuerySource
QueryId uint32
CanSetTag bool
UtilityStmt Node
ResultRelation int
HasAggs bool
HasWindowFuncs bool
HasTargetSrfs bool
HasSubLinks bool
HasDistinctOn bool
HasRecursive bool
HasModifyingCte bool
HasForUpdate bool
HasRowSecurity bool
CteList *List
Rtable *List
Jointree *FromExpr
TargetList *List
Override OverridingKind
OnConflict *OnConflictExpr
ReturningList *List
GroupClause *List
GroupingSets *List
HavingQual Node
WindowClause *List
DistinctClause *List
SortClause *List
LimitOffset Node
LimitCount Node
RowMarks *List
SetOperations Node
ConstraintDeps *List
WithCheckOptions *List
StmtLocation int
StmtLen int
}
func (n *Query) Pos() int {
return 0
}