Documentation
¶
Overview ¶
Code generated by goyacc -o mysql_sql.go -c mysql mysql_sql.y. DO NOT EDIT.
Code generated by goyacc -o postgresql_sql.go -c postgresql postgresql_sql.y. DO NOT EDIT.
Index ¶
Constants ¶
View Source
const MYSQL_ACCOUNT = 57601
View Source
const MYSQL_ACTION = 57572
View Source
const MYSQL_ADD = 57511
View Source
const MYSQL_ADDDATE = 57737
View Source
const MYSQL_AGAINST = 57731
View Source
const MYSQL_ALGORITHM = 57579
View Source
const MYSQL_ALL = 57362
View Source
const MYSQL_ALTER = 57507
View Source
const MYSQL_ANALYZE = 57510
View Source
const MYSQL_AND = 57419
View Source
const MYSQL_ANY = 57585
View Source
const MYSQL_APPROXNUM = 57639
View Source
const MYSQL_APPROX_COUNT_DISTINCT = 57743
View Source
const MYSQL_APPROX_PERCENTILE = 57744
View Source
const MYSQL_AS = 57365
View Source
const MYSQL_ASC = 57367
View Source
const MYSQL_ASCII = 57606
View Source
const MYSQL_ASSIGNMENT = 57435
View Source
const MYSQL_AT_AT_ID = 57398
View Source
const MYSQL_AT_ID = 57397
View Source
const MYSQL_AUTO_INCREMENT = 57638
View Source
const MYSQL_AUTO_RANDOM = 57569
View Source
const MYSQL_AVG = 57772
View Source
const MYSQL_AVG_ROW_LENGTH = 57545
View Source
const MYSQL_BEGIN = 57445
View Source
const MYSQL_BETWEEN = 57421
View Source
const MYSQL_BIGINT = 57462
View Source
const MYSQL_BINARY = 57442
View Source
const MYSQL_BIT = 57456
View Source
const MYSQL_BIT_AND = 57738
View Source
const MYSQL_BIT_LITERAL = 57406
View Source
const MYSQL_BIT_OR = 57739
View Source
const MYSQL_BIT_XOR = 57740
View Source
const MYSQL_BLOB = 57484
View Source
const MYSQL_BOOL = 57476
View Source
const MYSQL_BOOLEAN = 57732
View Source
const MYSQL_BOTH = 57597
View Source
const MYSQL_BSI = 57594
View Source
const MYSQL_BTREE = 57591
View Source
const MYSQL_BY = 57358
View Source
const MYSQL_CASCADE = 57571
View Source
const MYSQL_CASE = 57422
View Source
const MYSQL_CAST = 57741
View Source
const MYSQL_CHAIN = 57453
View Source
const MYSQL_CHAR = 57474
View Source
const MYSQL_CHARACTER = 57477
View Source
const MYSQL_CHARSET = 57413
View Source
const MYSQL_CHECK = 57575
View Source
const MYSQL_CHECKSUM = 57549
View Source
const MYSQL_CIPHER = 57645
View Source
const MYSQL_CLIENT = 57629
View Source
const MYSQL_COALESCE = 57607
View Source
const MYSQL_COLLATE = 57441
View Source
const MYSQL_COLLATION = 57608
View Source
const MYSQL_COLUMN = 57520
View Source
const MYSQL_COLUMNS = 57675
View Source
const MYSQL_COLUMN_FORMAT = 57568
View Source
const MYSQL_COMMENT = 57402
View Source
const MYSQL_COMMENT_KEYWORD = 57403
View Source
const MYSQL_COMMIT = 57448
View Source
const MYSQL_COMMITTED = 57690
View Source
const MYSQL_COMPACT = 57566
View Source
const MYSQL_COMPRESSED = 57564
View Source
const MYSQL_COMPRESSION = 57550
View Source
const MYSQL_CONFIG = 57729
View Source
const MYSQL_CONNECTION = 57660
View Source
const MYSQL_CONSISTENT = 57451
View Source
const MYSQL_CONSTRAINT = 57521
View Source
const MYSQL_CONVERT = 57704
View Source
const MYSQL_COUNT = 57742
View Source
const MYSQL_CREATE = 57506
View Source
const MYSQL_CROSS = 57388
View Source
const MYSQL_CURDATE = 57745
View Source
const MYSQL_CURRENT_DATE = 57706
View Source
const MYSQL_CURRENT_ROLE = 57708
View Source
const MYSQL_CURRENT_TIME = 57697
View Source
const MYSQL_CURRENT_TIMESTAMP = 57695
View Source
const MYSQL_CURRENT_USER = 57707
View Source
const MYSQL_CURTIME = 57746
View Source
const MYSQL_DATA = 57551
View Source
const MYSQL_DATABASE = 57696
View Source
const MYSQL_DATABASES = 57669
View Source
const MYSQL_DATE = 57529
View Source
const MYSQL_DATETIME = 57472
View Source
const MYSQL_DATE_ADD = 57747
View Source
const MYSQL_DATE_SUB = 57748
View Source
const MYSQL_DAY = 57603
View Source
const MYSQL_DAY_HOUR = 57718
View Source
const MYSQL_DAY_MICROSECOND = 57715
View Source
const MYSQL_DAY_MINUTE = 57717
View Source
const MYSQL_DAY_SECOND = 57716
View Source
const MYSQL_DECIMAL = 57467
View Source
const MYSQL_DECIMAL_VALUE = 57469
View Source
const MYSQL_DEFAULT = 57371
View Source
const MYSQL_DELAY_KEY_WRITE = 57553
View Source
const MYSQL_DELETE = 57352
View Source
const MYSQL_DESC = 57368
View Source
const MYSQL_DESCRIBE = 57527
View Source
const MYSQL_DIRECTORY = 57552
View Source
const MYSQL_DISK = 57547
View Source
const MYSQL_DISTINCT = 57363
View Source
const MYSQL_DISTINCTROW = 57364
View Source
const MYSQL_DIV = 57438
View Source
const MYSQL_DOUBLE = 57465
View Source
const MYSQL_DROP = 57508
View Source
const MYSQL_DUPLICATE = 57370
View Source
const MYSQL_DYNAMIC = 57563
View Source
const MYSQL_ELSE = 57425
View Source
const MYSQL_ENCLOSED = 57665
View Source
const MYSQL_ENCRYPTION = 57554
View Source
const MYSQL_END = 57426
View Source
const MYSQL_ENFORCED = 57576
View Source
const MYSQL_ENGINE = 57555
View Source
const MYSQL_ENUM = 57489
View Source
const MYSQL_ERRORS = 57677
View Source
const MYSQL_ESCAPE = 57530
View Source
const MYSQL_ESCAPED = 57666
View Source
const MYSQL_EVENT = 57635
View Source
const MYSQL_EXCEPT = 57694
View Source
const MYSQL_EXECUTE = 57622
View Source
const MYSQL_EXISTS = 57366
View Source
const MYSQL_EXPANSION = 57736
View Source
const MYSQL_EXPIRE = 57600
View Source
const MYSQL_EXPLAIN = 57528
View Source
const MYSQL_EXTENDED = 57671
View Source
const MYSQL_EXTRACT = 57749
View Source
const MYSQL_FALSE = 57411
View Source
const MYSQL_FIELDS = 57674
View Source
const MYSQL_FILE = 57632
View Source
const MYSQL_FIXED = 57567
View Source
const MYSQL_FLOAT = 57407
View Source
const MYSQL_FLOAT_TYPE = 57466
View Source
const MYSQL_FOR = 57361
View Source
const MYSQL_FORCE = 57391
View Source
const MYSQL_FORCE_QUOTE = 57777
View Source
const MYSQL_FOREIGN = 57524
View Source
const MYSQL_FORMAT = 57658
View Source
const MYSQL_FROM = 57353
View Source
const MYSQL_FULL = 57672
View Source
const MYSQL_FULLTEXT = 57523
View Source
const MYSQL_FUNCTION = 57619
View Source
const MYSQL_GE = 57428
View Source
const MYSQL_GEOMETRY = 57490
View Source
const MYSQL_GEOMETRYCOLLECTION = 57494
View Source
const MYSQL_GLOBAL = 57682
View Source
const MYSQL_GRANT = 57624
View Source
const MYSQL_GROUP = 57355
View Source
const MYSQL_GROUP_CONCAT = 57750
View Source
const MYSQL_HASH = 57592
View Source
const MYSQL_HAVING = 57356
View Source
const MYSQL_HEADER = 57775
View Source
const MYSQL_HEX = 57405
View Source
const MYSQL_HEXNUM = 57408
View Source
const MYSQL_HOUR = 57609
View Source
const MYSQL_HOUR_MICROSECOND = 57712
View Source
const MYSQL_HOUR_MINUTE = 57714
View Source
const MYSQL_HOUR_SECOND = 57713
View Source
const MYSQL_ID = 57396
View Source
const MYSQL_IDENTIFIED = 57644
View Source
const MYSQL_IF = 57518
View Source
const MYSQL_IGNORE = 57517
View Source
const MYSQL_IN = 57434
View Source
const MYSQL_INDEX = 57514
View Source
const MYSQL_INDEXES = 57679
View Source
const MYSQL_INFILE = 57662
View Source
const MYSQL_INNER = 57386
View Source
const MYSQL_INSERT = 57350
View Source
const MYSQL_INT = 57460
View Source
const MYSQL_INT1 = 57498
View Source
const MYSQL_INT2 = 57499
View Source
const MYSQL_INT3 = 57500
View Source
const MYSQL_INT4 = 57501
View Source
const MYSQL_INT8 = 57502
View Source
const MYSQL_INTEGER = 57461
View Source
const MYSQL_INTEGRAL = 57404
View Source
const MYSQL_INTERVAL = 57444
View Source
const MYSQL_INTNUM = 57463
View Source
const MYSQL_INTO = 57369
View Source
const MYSQL_INVISIBLE = 57590
View Source
const MYSQL_IS = 57431
View Source
const MYSQL_ISOLATION = 57684
View Source
const MYSQL_ISSUER = 57646
View Source
const MYSQL_JOIN = 57382
View Source
const MYSQL_JSON = 57488
View Source
const MYSQL_KEY = 57415
View Source
const MYSQL_KEYS = 57374
View Source
const MYSQL_KEY_BLOCK_SIZE = 57525
View Source
const MYSQL_LANGUAGE = 57733
View Source
const MYSQL_LE = 57427
View Source
const MYSQL_LEADING = 57596
View Source
const MYSQL_LEFT = 57384
View Source
const MYSQL_LESS = 57537
View Source
const MYSQL_LEVEL = 57685
View Source
const MYSQL_LEX_ERROR = 57346
View Source
const MYSQL_LIKE = 57432
View Source
const MYSQL_LIMIT = 57359
View Source
const MYSQL_LINEAR = 57580
View Source
const MYSQL_LINES = 57668
View Source
const MYSQL_LINESTRING = 57492
View Source
const MYSQL_LIST = 57578
View Source
const MYSQL_LIST_ARG = 57401
View Source
const MYSQL_LOAD = 57661
View Source
const MYSQL_LOCAL = 57693
View Source
const MYSQL_LOCALTIME = 57698
View Source
const MYSQL_LOCALTIMESTAMP = 57699
View Source
const MYSQL_LOCK = 57373
View Source
const MYSQL_LONGBLOB = 57487
View Source
const MYSQL_LONGTEXT = 57483
View Source
const MYSQL_LOWER_THAN_CHARSET = 57412
View Source
const MYSQL_LOWER_THAN_STRING = 57395
View Source
const MYSQL_MATCH = 57730
View Source
const MYSQL_MAX = 57751
View Source
const MYSQL_MAXVALUE = 57534
View Source
const MYSQL_MAX_CONNECTIONS_PER_HOUR = 57656
View Source
const MYSQL_MAX_FILE_SIZE = 57776
View Source
const MYSQL_MAX_QUERIES_PER_HOUR = 57654
View Source
const MYSQL_MAX_ROWS = 57556
View Source
const MYSQL_MAX_UPDATES_PER_HOUR = 57655
View Source
const MYSQL_MAX_USER_CONNECTIONS = 57657
View Source
const MYSQL_MEDIUMBLOB = 57486
View Source
const MYSQL_MEDIUMINT = 57459
View Source
const MYSQL_MEDIUMTEXT = 57482
View Source
const MYSQL_MEMORY = 57548
View Source
const MYSQL_MICROSECOND = 57610
View Source
const MYSQL_MID = 57752
View Source
const MYSQL_MIN = 57753
View Source
const MYSQL_MINUTE = 57611
View Source
const MYSQL_MINUTE_MICROSECOND = 57710
View Source
const MYSQL_MINUTE_SECOND = 57711
View Source
const MYSQL_MIN_ROWS = 57557
View Source
const MYSQL_MOD = 57439
View Source
const MYSQL_MODE = 57379
View Source
const MYSQL_MONTH = 57612
View Source
const MYSQL_MULTILINESTRING = 57496
View Source
const MYSQL_MULTIPOINT = 57495
View Source
const MYSQL_MULTIPOLYGON = 57497
View Source
const MYSQL_NAMES = 57681
View Source
const MYSQL_NATURAL = 57389
View Source
const MYSQL_NCHAR = 57479
View Source
const MYSQL_NE = 57429
View Source
const MYSQL_NEVER = 57604
View Source
const MYSQL_NEXT = 57376
View Source
const MYSQL_NO = 57454
View Source
const MYSQL_NONE = 57652
View Source
const MYSQL_NOT = 57420
View Source
const MYSQL_NOW = 57754
View Source
const MYSQL_NULL = 57409
View Source
const MYSQL_NULLX = 57637
View Source
const MYSQL_NULL_SAFE_EQUAL = 57430
View Source
const MYSQL_NUMERIC = 57468
View Source
const MYSQL_OFFSET = 57360
View Source
const MYSQL_ON = 57392
View Source
const MYSQL_ONLY = 57688
View Source
const MYSQL_OPEN = 57676
View Source
const MYSQL_OPTIMIZE = 57532
View Source
const MYSQL_OPTION = 57625
View Source
const MYSQL_OPTIONALLY = 57664
View Source
const MYSQL_OR = 57416
View Source
const MYSQL_ORDER = 57357
View Source
const MYSQL_OUTER = 57387
View Source
const MYSQL_OUTFILE = 57774
View Source
const MYSQL_PACK_KEYS = 57558
View Source
const MYSQL_PARSER = 57588
View Source
const MYSQL_PARTIAL = 57573
View Source
const MYSQL_PARTITION = 57535
View Source
const MYSQL_PARTITIONS = 57581
View Source
const MYSQL_PASSWORD = 57653
View Source
const MYSQL_PIPE_CONCAT = 57417
View Source
const MYSQL_POINT = 57491
View Source
const MYSQL_POLYGON = 57493
View Source
const MYSQL_POSITION = 57755
View Source
const MYSQL_PRIMARY = 57519
View Source
const MYSQL_PRIVILEGES = 57620
View Source
const MYSQL_PROCEDURE = 57539
View Source
const MYSQL_PROCESSLIST = 57673
View Source
const MYSQL_PROPERTIES = 57587
View Source
const MYSQL_PROXY = 57544
View Source
const MYSQL_QUARTER = 57613
View Source
const MYSQL_QUERY = 57735
View Source
const MYSQL_RANGE = 57577
View Source
const MYSQL_READ = 57686
View Source
const MYSQL_REAL = 57464
View Source
const MYSQL_RECURSIVE = 57728
View Source
const MYSQL_REDUNDANT = 57565
View Source
const MYSQL_REFERENCES = 57626
View Source
const MYSQL_REGEXP = 57433
View Source
const MYSQL_RELEASE = 57455
View Source
const MYSQL_RELOAD = 57631
View Source
const MYSQL_RENAME = 57509
View Source
const MYSQL_REORGANIZE = 57536
View Source
const MYSQL_REPAIR = 57531
View Source
const MYSQL_REPEAT = 57614
View Source
const MYSQL_REPEATABLE = 57689
View Source
const MYSQL_REPLACE = 57703
View Source
const MYSQL_REPLICATION = 57627
View Source
const MYSQL_REQUIRE = 57650
View Source
const MYSQL_RESTRICT = 57570
View Source
const MYSQL_REVERSE = 57615
View Source
const MYSQL_REVOKE = 57618
View Source
const MYSQL_RIGHT = 57385
View Source
const MYSQL_ROLE = 57543
View Source
const MYSQL_ROLLBACK = 57449
View Source
const MYSQL_ROUTINE = 57634
View Source
const MYSQL_ROW = 57773
View Source
const MYSQL_ROW_COUNT = 57616
View Source
const MYSQL_ROW_FORMAT = 57559
View Source
const MYSQL_RTREE = 57593
View Source
const MYSQL_SAN = 57649
View Source
const MYSQL_SCHEMA = 57512
View Source
const MYSQL_SCHEMAS = 57680
View Source
const MYSQL_SECOND = 57605
View Source
const MYSQL_SECOND_MICROSECOND = 57709
View Source
const MYSQL_SELECT = 57348
View Source
const MYSQL_SEPARATOR = 57705
View Source
const MYSQL_SERIALIZABLE = 57692
View Source
const MYSQL_SESSION = 57683
View Source
const MYSQL_SESSION_USER = 57756
View Source
const MYSQL_SET = 57372
View Source
const MYSQL_SHARE = 57378
View Source
const MYSQL_SHIFT_LEFT = 57436
View Source
const MYSQL_SHIFT_RIGHT = 57437
View Source
const MYSQL_SHOW = 57526
View Source
const MYSQL_SHUTDOWN = 57636
View Source
const MYSQL_SIGNED = 57640
View Source
const MYSQL_SIMPLE = 57574
View Source
const MYSQL_SLAVE = 57628
View Source
const MYSQL_SMALLINT = 57458
View Source
const MYSQL_SNAPSHOT = 57452
View Source
const MYSQL_SOME = 57586
View Source
const MYSQL_SPATIAL = 57522
View Source
const MYSQL_SQL_BIG_RESULT = 57504
View Source
const MYSQL_SQL_BUFFER_RESULT = 57505
View Source
const MYSQL_SQL_CACHE = 57381
View Source
const MYSQL_SQL_NO_CACHE = 57380
View Source
const MYSQL_SQL_SMALL_RESULT = 57503
View Source
const MYSQL_SQL_TSI_DAY = 57721
View Source
const MYSQL_SQL_TSI_HOUR = 57720
View Source
const MYSQL_SQL_TSI_MINUTE = 57727
View Source
const MYSQL_SQL_TSI_MONTH = 57723
View Source
const MYSQL_SQL_TSI_QUARTER = 57724
View Source
const MYSQL_SQL_TSI_SECOND = 57726
View Source
const MYSQL_SQL_TSI_WEEK = 57722
View Source
const MYSQL_SQL_TSI_YEAR = 57725
View Source
const MYSQL_SSL = 57651
View Source
const MYSQL_START = 57446
View Source
const MYSQL_STARTING = 57667
View Source
const MYSQL_STATS_AUTO_RECALC = 57560
View Source
const MYSQL_STATS_PERSISTENT = 57561
View Source
const MYSQL_STATS_SAMPLE_PAGES = 57562
View Source
const MYSQL_STATUS = 57541
View Source
const MYSQL_STD = 57757
View Source
const MYSQL_STDDEV = 57758
View Source
const MYSQL_STDDEV_POP = 57759
View Source
const MYSQL_STDDEV_SAMP = 57760
View Source
const MYSQL_STORAGE = 57546
View Source
const MYSQL_STRAIGHT_JOIN = 57383
View Source
const MYSQL_STREAM = 57349
View Source
const MYSQL_STRING = 57399
View Source
const MYSQL_SUBDATE = 57761
View Source
const MYSQL_SUBJECT = 57648
View Source
const MYSQL_SUBPARTITION = 57582
View Source
const MYSQL_SUBPARTITIONS = 57583
View Source
const MYSQL_SUBQUERY_AS_EXPR = 57394
View Source
const MYSQL_SUBSTR = 57762
View Source
const MYSQL_SUBSTRING = 57763
View Source
const MYSQL_SUM = 57764
View Source
const MYSQL_SUPER = 57623
View Source
const MYSQL_SYSDATE = 57765
View Source
const MYSQL_SYSTEM_USER = 57766
View Source
const MYSQL_TABLE = 57513
View Source
const MYSQL_TABLES = 57670
View Source
const MYSQL_TABLESPACE = 57621
View Source
const MYSQL_TEMPORARY = 57633
View Source
const MYSQL_TERMINATED = 57663
View Source
const MYSQL_TEXT = 57480
View Source
const MYSQL_THAN = 57538
View Source
const MYSQL_THEN = 57424
View Source
const MYSQL_TIME = 57470
View Source
const MYSQL_TIMESTAMP = 57471
View Source
const MYSQL_TINYBLOB = 57485
View Source
const MYSQL_TINYINT = 57457
View Source
const MYSQL_TINYTEXT = 57481
View Source
const MYSQL_TO = 57516
View Source
const MYSQL_TRAILING = 57598
View Source
const MYSQL_TRANSACTION = 57447
View Source
const MYSQL_TRANSLATE = 57767
View Source
const MYSQL_TRIGGER = 57540
View Source
const MYSQL_TRIM = 57768
View Source
const MYSQL_TRUE = 57410
View Source
const MYSQL_TRUNCATE = 57533
View Source
const MYSQL_TYPE = 57584
View Source
const MYSQL_UNARY = 57440
View Source
const MYSQL_UNCOMMITTED = 57691
View Source
const MYSQL_UNDERSCORE_BINARY = 57443
View Source
const MYSQL_UNION = 57347
View Source
const MYSQL_UNIQUE = 57414
View Source
const MYSQL_UNKNOWN = 57599
View Source
const MYSQL_UNLOCK = 57602
View Source
const MYSQL_UNSIGNED = 57641
View Source
const MYSQL_UNUSED = 57778
View Source
const MYSQL_UPDATE = 57351
View Source
const MYSQL_USAGE = 57630
View Source
const MYSQL_USE = 57390
View Source
const MYSQL_USER = 57643
View Source
const MYSQL_USING = 57393
View Source
const MYSQL_UTC_DATE = 57700
View Source
const MYSQL_UTC_TIME = 57701
View Source
const MYSQL_UTC_TIMESTAMP = 57702
View Source
const MYSQL_VALUE = 57377
View Source
const MYSQL_VALUES = 57375
View Source
const MYSQL_VALUE_ARG = 57400
View Source
const MYSQL_VARBINARY = 57478
View Source
const MYSQL_VARCHAR = 57475
View Source
const MYSQL_VARIABLES = 57542
View Source
const MYSQL_VARIANCE = 57769
View Source
const MYSQL_VAR_POP = 57770
View Source
const MYSQL_VAR_SAMP = 57771
View Source
const MYSQL_VERBOSE = 57659
View Source
const MYSQL_VIEW = 57515
View Source
const MYSQL_VISIBLE = 57589
View Source
const MYSQL_WARNINGS = 57678
View Source
const MYSQL_WEEK = 57617
View Source
const MYSQL_WHEN = 57423
View Source
const MYSQL_WHERE = 57354
View Source
const MYSQL_WITH = 57734
View Source
const MYSQL_WORK = 57450
View Source
const MYSQL_WRITE = 57687
View Source
const MYSQL_X509 = 57647
View Source
const MYSQL_XOR = 57418
View Source
const MYSQL_YEAR = 57473
View Source
const MYSQL_YEAR_MONTH = 57719
View Source
const MYSQL_ZEROFILL = 57642
View Source
const MYSQL_ZONEMAP = 57595
View Source
const POSTGRESQL_BIT_LITERAL = 57352
View Source
const POSTGRESQL_FLOAT = 57349
View Source
const POSTGRESQL_HEX = 57350
View Source
const POSTGRESQL_HEXNUM = 57351
View Source
const POSTGRESQL_ID = 57347
View Source
const POSTGRESQL_INTEGRAL = 57348
View Source
const POSTGRESQL_USE = 57346
Variables ¶
View Source
var ( SCHEMAS int PIPE_CONCAT int CONFIG int SOME int ANY int UNKNOWN int TRAILING int LEADING int BOTH int SQL_SMALL_RESULT int SQL_BIG_RESULT int SQL_BUFFER_RESULT int BIT_OR int BIT_AND int SQL_TSI_MINUTE int SQL_TSI_SECOND int SQL_TSI_YEAR int SQL_TSI_QUARTER int SQL_TSI_MONTH int SQL_TSI_WEEK int SQL_TSI_DAY int SQL_TSI_HOUR int YEAR_MONTH int DAY_HOUR int DAY_MINUTE int DAY_SECOND int DAY_MICROSECOND int HOUR_MINUTE int HOUR_SECOND int HOUR_MICROSECOND int MINUTE_SECOND int MINUTE_MICROSECOND int SECOND_MICROSECOND int TYPE int ZONEMAP int BSI int ROW int PROPERTIES int TERMINATED int ENCLOSED int OPTIONALLY int ESCAPED int ADDDATE int COUNT int APPROX_COUNT_DISTINCT int APPROX_PERCENTILE int CURDATE int DATE_ADD int DATE_SUB int EXTRACT int MAX int MID int MIN int NOW int POSITION int SESSION_USER int STD int STDDEV int STDDEV_POP int STDDEV_SAMP int SUBDATE int SUM int SYSTEM_USER int TRANSLATE int TRIM int VARIANCE int VAR_POP int VAR_SAMP int LEX_ERROR int COLLATION int HOUR int MICROSECOND int MINUTE int QUARTER int REPEAT int REVERSE int ROW_COUNT int WEEK int ASCII int COALESCE int SECOND int SUBPARTITIONS int SUBPARTITION int PARTITIONS int LINEAR int ALGORITHM int LIST int RANGE int CHECK int ENFORCED int RESTRICT int CASCADE int ACTION int PARTIAL int SIMPLE int AUTO_RANDOM int COLUMN_FORMAT int CHECKSUM int COMPRESSION int DATA int DIRECTORY int DELAY_KEY_WRITE int ENCRYPTION int ENGINE int MAX_ROWS int MIN_ROWS int PACK_KEYS int ROW_FORMAT int STATS_AUTO_RECALC int STATS_PERSISTENT int STATS_SAMPLE_PAGES int DYNAMIC int FIXED int COMPRESSED int REDUNDANT int COMPACT int STORAGE int DISK int MEMORY int AVG_ROW_LENGTH int PROXY int FILE int TEMPORARY int ROUTINE int EVENT int SHUTDOWN int RELOAD int FUNCTION int PRIVILEGES int TABLESPACE int EXECUTE int SUPER int GRANT int OPTION int REFERENCES int REPLICATION int SLAVE int CLIENT int USAGE int REVOKE int EXCEPT int LOCAL int ASSIGNMENT int RELEASE int NO int CHAIN int WORK int CONSISTENT int SNAPSHOT int CONNECTION int FORMAT int EXPIRE int ACCOUNT int UNLOCK int DAY int NEVER int INDEXES int WARNINGS int ERRORS int OPEN int FIELDS int COLUMNS int PASSWORD int MAX_QUERIES_PER_HOUR int MAX_UPDATES_PER_HOUR int MAX_CONNECTIONS_PER_HOUR int MAX_USER_CONNECTIONS int CIPHER int ISSUER int X509 int SUBJECT int SAN int REQUIRE int SSL int NONE int IDENTIFIED int USER int ROLE int PARSER int VISIBLE int INVISIBLE int BTREE int HASH int RTREE int AT_ID int AT_AT_ID int UNION int SELECT int STREAM int INSERT int UPDATE int DELETE int FROM int WHERE int GROUP int HAVING int ORDER int BY int LIMIT int OFFSET int FOR int ALL int DISTINCT int AS int EXISTS int ASC int DESC int INTO int DUPLICATE int KEY int DEFAULT int SET int LOCK int KEYS int VALUES int NEXT int VALUE int SHARE int MODE int SQL_NO_CACHE int SQL_CACHE int JOIN int STRAIGHT_JOIN int LEFT int RIGHT int INNER int OUTER int CROSS int NATURAL int USE int FORCE int ON int USING int ID int HEX int STRING int INTEGRAL int FLOAT int HEXNUM int VALUE_ARG int LIST_ARG int COMMENT int COMMENT_KEYWORD int BIT_LITERAL int NULL int TRUE int FALSE int OR int XOR int AND int NOT int BETWEEN int CASE int WHEN int THEN int ELSE int END int LE int GE int NE int NULL_SAFE_EQUAL int IS int LIKE int REGEXP int IN int SHIFT_LEFT int SHIFT_RIGHT int DIV int MOD int UNARY int COLLATE int BINARY int UNDERSCORE_BINARY int INTERVAL int BEGIN int START int TRANSACTION int COMMIT int ROLLBACK int BIT int TINYINT int SMALLINT int MEDIUMINT int INT int INTEGER int BIGINT int INTNUM int REAL int DOUBLE int FLOAT_TYPE int DECIMAL int NUMERIC int TIME int TIMESTAMP int DATETIME int YEAR int CHAR int VARCHAR int BOOL int CHARACTER int VARBINARY int NCHAR int TEXT int TINYTEXT int MEDIUMTEXT int LONGTEXT int BLOB int TINYBLOB int MEDIUMBLOB int LONGBLOB int JSON int ENUM int GEOMETRY int POINT int LINESTRING int POLYGON int GEOMETRYCOLLECTION int MULTIPOINT int MULTILINESTRING int MULTIPOLYGON int CREATE int ALTER int DROP int RENAME int ANALYZE int ADD int SCHEMA int TABLE int INDEX int VIEW int TO int IGNORE int IF int UNIQUE int PRIMARY int COLUMN int CONSTRAINT int SPATIAL int FULLTEXT int FULL int EXTENDED int FOREIGN int KEY_BLOCK_SIZE int SHOW int DESCRIBE int EXPLAIN int DATE int ESCAPE int REPAIR int OPTIMIZE int TRUNCATE int MAXVALUE int PARTITION int REORGANIZE int LESS int THAN int PROCEDURE int TRIGGER int STATUS int VARIABLES int NULLX int AUTO_INCREMENT int APPROXNUM int SIGNED int UNSIGNED int ZEROFILL int DATABASES int TABLES int PROCESSLIST int NAMES int CHARSET int GLOBAL int SESSION int ISOLATION int LEVEL int READ int WRITE int ONLY int REPEATABLE int COMMITTED int UNCOMMITTED int SERIALIZABLE int CURRENT_TIMESTAMP int DATABASE int CURRENT_DATE int CURRENT_TIME int LOCALTIME int LOCALTIMESTAMP int UTC_DATE int UTC_TIME int UTC_TIMESTAMP int REPLACE int CONVERT int CAST int SUBSTR int SUBSTRING int GROUP_CONCAT int SEPARATOR int MATCH int AGAINST int BOOLEAN int LANGUAGE int WITH int QUERY int EXPANSION int CURRENT_USER int CURRENT_ROLE int MONTH int CURTIME int SYSDATE int AVG int LOAD int INFILE int OUTFILE int HEADER int MAX_FILE_SIZE int FORCE_QUOTE int STARTING int LINES int UNUSED int INT1 int INT2 int INT3 int INT4 int INT8 int VERBOSE int )
mysql
Functions ¶
func ExtractMysqlComment ¶
ExtractMysqlComment extracts the version and SQL from a comment-only query such as /*!50708 sql here */
Types ¶
type PositionedErr ¶
PositionedErr holds context related to parser errros
func (PositionedErr) Error ¶
func (p PositionedErr) Error() string
Click to show internal directories.
Click to hide internal directories.