Documentation
¶
Index ¶
Constants ¶
View Source
const ABS = 57395
View Source
const AND = 57379
View Source
const ANY = 57391
View Source
const BCONST = 57351
View Source
const BIGINT = 57398
View Source
const BOOLEAN = 57399
View Source
const CEILING = 57396
View Source
const COLON_EQUALS = 57358
View Source
const CURRENT = 57367
View Source
const DATE = 57400
View Source
const DATETIME = 57406
View Source
const DECIMAL = 57405
View Source
const DOT_DOT = 57357
View Source
const DOUBLE = 57401
View Source
const EQUAL = 57373
View Source
const EQUALS_GREATER = 57359
View Source
const ERROR = 57363
View Source
const EXISTS = 57386
View Source
const FALSE = 57372
View Source
const FCONST = 57348
View Source
const FLAG = 57383
View Source
const FLOOR = 57397
View Source
const GREATER = 57377
View Source
const GREATER_EQUAL = 57378
View Source
const GREATER_EQUALS = 57361
View Source
const ICONST = 57354
View Source
const IDENT = 57346
View Source
const INTEGER = 57402
View Source
const IS = 57387
View Source
const KEYVALUE = 57394
View Source
const LAST = 57385
View Source
const LAX = 57365
View Source
const LESS = 57375
View Source
const LESS_EQUAL = 57376
View Source
const LESS_EQUALS = 57360
View Source
const LIKE_REGEX = 57382
View Source
const NOT = 57381
View Source
const NOT_EQUAL = 57374
View Source
const NOT_EQUALS = 57362
View Source
const NULL = 57370
View Source
const NUMBER = 57403
View Source
const OR = 57380
View Source
const PARAM = 57355
View Source
const ROOT = 57366
View Source
const SCONST = 57349
View Source
const SIZE = 57392
View Source
const STARTS = 57389
View Source
const STR = 57369
View Source
const STRICT = 57364
View Source
const STRING = 57404
View Source
const TIME = 57407
View Source
const TIMESTAMP = 57409
View Source
const TIMESTAMP_TZ = 57410
View Source
const TIME_TZ = 57408
View Source
const TO = 57384
View Source
const TRUE = 57371
View Source
const TYPE = 57393
View Source
const TYPECAST = 57356
View Source
const UIDENT = 57347
View Source
const UMINUS = 57411
View Source
const UNKNOWN = 57388
View Source
const USCONST = 57350
View Source
const VARIABLE = 57368
View Source
const WITH = 57390
View Source
const XCONST = 57352
Variables ¶
View Source
var KeywordNames = []string{
"abs",
"bigint",
"boolean",
"ceiling",
"date",
"datetime",
"decimal",
"double",
"exists",
"false",
"flag",
"floor",
"integer",
"is",
"keyvalue",
"last",
"lax",
"like_regex",
"null",
"number",
"size",
"starts",
"strict",
"string",
"time",
"timestamp",
"timestamp_tz",
"time_tz",
"to",
"true",
"type",
"unknown",
"with",
}
KeywordNames contains all keywords sorted, so that pg_get_keywords returns deterministic results.
View Source
var KeywordsCategories = map[string]string{
"abs": "U",
"bigint": "U",
"boolean": "U",
"ceiling": "U",
"date": "U",
"datetime": "U",
"decimal": "U",
"double": "U",
"exists": "U",
"false": "U",
"flag": "U",
"floor": "U",
"integer": "U",
"is": "U",
"keyvalue": "U",
"last": "U",
"lax": "U",
"like_regex": "U",
"null": "U",
"number": "U",
"size": "U",
"starts": "U",
"strict": "U",
"string": "U",
"time": "U",
"timestamp": "U",
"timestamp_tz": "U",
"time_tz": "U",
"to": "U",
"true": "U",
"type": "U",
"unknown": "U",
"with": "U",
}
Functions ¶
func GetKeywordID ¶
GetKeywordID returns the lex id of the SQL keyword k or IDENT if k is not a keyword.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.