-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtokens.go
35 lines (34 loc) · 922 Bytes
/
tokens.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
package sol
// Tokens holds SQL tokens that are used for compilation / AST parsing
const (
AVG = "AVG"
COUNT = "COUNT"
CROSSJOIN = "CROSS JOIN"
DATE = "DATE"
DATEPART = "DATE_PART"
DELETE = "DELETE"
DISTINCT = "DISTINCT"
FROM = "FROM"
FULLOUTERJOIN = "FULL OUTER JOIN"
GROUPBY = "GROUP BY"
HAVING = "HAVING"
INNERJOIN = "INNER JOIN"
INSERT = "INSERT"
INTO = "INTO"
LEFTOUTERJOIN = "LEFT OUTER JOIN"
LIMIT = "LIMIT"
MAX = "MAX"
MIN = "MIN"
OFFSET = "OFFSET"
ORDERBY = "ORDER BY"
RIGHTOUTERJOIN = "RIGHT OUTER JOIN"
SELECT = "SELECT"
SET = "SET"
STDDEV = "STDDEV"
SUM = "SUM"
UPDATE = "UPDATE"
VALUES = "VALUES"
VARIANCE = "VARIANCE"
WHERE = "WHERE"
WHITESPACE = " "
)