forked from yunionio/sqlchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
34 lines (32 loc) · 854 Bytes
/
const.go
File metadata and controls
34 lines (32 loc) · 854 Bytes
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
package sqlchemy
const (
SQL_OP_AND = "AND"
SQL_OP_OR = "OR"
SQL_OP_NOT = "NOT"
SQL_OP_LIKE = "LIKE"
SQL_OP_IN = "IN"
SQL_OP_EQUAL = "="
SQL_OP_LT = "<"
SQL_OP_LE = "<="
SQL_OP_GT = ">"
SQL_OP_GE = ">="
SQL_OP_BETWEEN = "BETWEEN"
SQL_OP_NOTEQUAL = "<>"
)
const (
TAG_IGNORE = "ignore"
TAG_NAME = "name"
TAG_WIDTH = "width"
TAG_TEXT_LENGTH = "length"
TAG_CHARSET = "charset"
TAG_PRECISION = "precision"
TAG_DEFAULT = "default"
TAG_UNIQUE = "unique"
TAG_INDEX = "index"
TAG_PRIMARY = "primary"
TAG_NULLABLE = "nullable"
TAG_AUTOINCREMENT = "auto_increment"
TAG_AUTOVERSION = "auto_version"
TAG_UPDATE_TIMESTAMP = "updated_at"
TAG_CREATE_TIMESTAMP = "created_at"
)