mysql

package
v0.0.0-debug-20260702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ACCOUNT = 57745
View Source
const ACCOUNTS = 57746
View Source
const ACTION = 57658
View Source
const ADD = 57592
View Source
const ADDDATE = 57948
View Source
const ADMIN_NAME = 57794
View Source
const AFTER = 57392
View Source
const AGAINST = 57939
View Source
const ALGORITHM = 57665
View Source
const ALL = 57377
View Source
const ALTER = 57586
View Source
const ALWAYS = 58023
View Source
const ANALYZE = 57590
View Source
const AND = 57459
View Source
const ANY = 57672
View Source
const APPLY = 57424
View Source
const APPROXNUM = 57790
View Source
const APPROX_COUNT = 57954
View Source
const APPROX_COUNT_DISTINCT = 57955
View Source
const APPROX_PERCENTILE = 57957
View Source
const ARRAY = 58063
View Source
const ARROW = 57481
View Source
const AS = 57380
View Source
const ASC = 57382
View Source
const ASCII = 57756
View Source
const ASSIGNMENT = 57477
View Source
const ASYNC = 57731
View Source
const ATTRIBUTE = 57797
View Source
const AT_AT_ID = 57433
View Source
const AT_ID = 57432
View Source
const AUTOEXTEND_SIZE = 57793
View Source
const AUTO_INCREMENT = 57789
View Source
const AUTO_RANDOM = 57652
View Source
const AUTO_UPDATE = 57733
View Source
const AVG = 57988
View Source
const AVG_ROW_LENGTH = 57628
View Source
const BACKEND = 58038
View Source
const BACKUP = 58058
View Source
const BEGIN = 57502
View Source
const BETWEEN = 57461
View Source
const BIGINT = 57520
View Source
const BINARY = 57497
View Source
const BINDINGS = 58021
View Source
const BIT = 57516
View Source
const BITMAP_BIT_POSITION = 58001
View Source
const BITMAP_BUCKET_NUMBER = 58002
View Source
const BITMAP_CONSTRUCT_AGG = 58004
View Source
const BITMAP_COUNT = 58003
View Source
const BITMAP_OR_AGG = 58005
View Source
const BITS_PER_CODE = 57737
View Source
const BIT_AND = 57949
View Source
const BIT_CAST = 57993
View Source
const BIT_LITERAL = 57448
View Source
const BIT_OR = 57950
View Source
const BIT_XOR = 57951
View Source
const BLOB = 57544
View Source
const BOOL = 57535
View Source
const BOOLEAN = 57940
View Source
const BOTH = 57722
View Source
const BRANCH = 57684
View Source
const BSI = 57714
View Source
const BTREE = 57711
View Source
const BY = 57365
View Source
const CAGRA = 57718
View Source
const CALL = 58033
View Source
const CANCEL = 57932
View Source
const CASCADE = 57657
View Source
const CASCADED = 57405
View Source
const CASE = 57462
View Source
const CAST = 57952
View Source
const CCPR = 57706
View Source
const CDC = 58048
View Source
const CDC_TASK_NAME = 58047
View Source
const CENTROIDX = 57423
View Source
const CHAIN = 57511
View Source
const CHANGE = 57754
View Source
const CHAR = 57533
View Source
const CHARACTER = 57536
View Source
const CHARSET = 57453
View Source
const CHECK = 57661
View Source
const CHECKSUM = 57632
View Source
const CIPHER = 57809
View Source
const CLIENT = 57779
View Source
const CLONE = 57683
View Source
const CLUSTER = 57670
View Source
const CLUSTER_CENTERS = 57973
View Source
const COALESCE = 57757
View Source
const COLLATE = 57487
View Source
const COLLATION = 57758
View Source
const COLUMN = 57603
View Source
const COLUMNS = 57854
View Source
const COLUMN_FORMAT = 57651
View Source
const COLUMN_NUMBER = 57866
View Source
const COMMENT = 57437
View Source
const COMMENT_KEYWORD = 57438
View Source
const COMMIT = 57505
View Source
const COMMITTED = 57881
View Source
const COMPACT = 57649
View Source
const COMPRESSED = 57647
View Source
const COMPRESSION = 57633
View Source
const CONFIG = 57923
View Source
const CONFLICT = 57690
View Source
const CONFLICT_ACCEPT = 57693
View Source
const CONFLICT_FAIL = 57691
View Source
const CONFLICT_SKIP = 57692
View Source
const CONNECT = 57370
View Source
const CONNECTION = 57826
View Source
const CONNECTOR = 57928
View Source
const CONNECTORS = 57929
View Source
const CONSISTENT = 57508
View Source
const CONSTRAINT = 57604
View Source
const CONVERT = 57896
View Source
const COPY = 57395
View Source
const COUNT = 57953
View Source
const COVERAGE = 57705
View Source
const CREATE = 57585
View Source
const CREDENTIALS = 57441
View Source
const CROSS = 57419
View Source
const CUBE = 58051
View Source
const CUME_DIST = 57992
View Source
const CURDATE = 57958
View Source
const CURRENT = 57800
View Source
const CURRENT_DATE = 57900
View Source
const CURRENT_ROLE = 57902
View Source
const CURRENT_TIME = 57889
View Source
const CURRENT_TIMESTAMP = 57887
View Source
const CURRENT_USER = 57901
View Source
const CURRVAL = 58010
View Source
const CURTIME = 57959
View Source
const CYCLE = 57697
View Source
const DAEMON = 57930
View Source
const DATA = 57634
View Source
const DATABASE = 57888
View Source
const DATABASES = 57847
View Source
const DATALINK = 57543
View Source
const DATE = 57612
View Source
const DATETIME = 57531
View Source
const DATE_ADD = 57960
View Source
const DATE_SUB = 57961
View Source
const DAY = 57748
View Source
const DAY_HOUR = 57912
View Source
const DAY_MICROSECOND = 57909
View Source
const DAY_MINUTE = 57911
View Source
const DAY_SECOND = 57910
View Source
const DEALLOCATE = 57678
View Source
const DECIMAL = 57525
View Source
const DECIMAL_VALUE = 57527
View Source
const DECLARE = 58027
View Source
const DEDUP = 57425
View Source
const DEFAULT = 57386
View Source
const DEFINER = 57401
View Source
const DELAYED = 57584
View Source
const DELAY_KEY_WRITE = 57636
View Source
const DELETE = 57360
View Source
const DENSE_RANK = 57991
View Source
const DESC = 57383
View Source
const DESCRIBE = 57610
View Source
const DIFF = 57688
View Source
const DIRECTORY = 57635
View Source
const DISABLE = 57396
View Source
const DISCARD = 57840
View Source
const DISK = 57630
View Source
const DISTINCT = 57378
View Source
const DISTINCTROW = 57379
View Source
const DISTRIBUTION_MODE = 57738
View Source
const DIV = 57483
View Source
const DO = 58026
View Source
const DOUBLE = 57523
View Source
const DRAINER = 57924
View Source
const DROP = 57587
View Source
const DUPLICATE = 57385
View Source
const DYNAMIC = 57646
View Source
const EF_CONSTRUCTION = 57729
View Source
const EF_SEARCH = 57728
View Source
const ELSE = 57465
View Source
const ELSEIF = 57467
View Source
const EMPTY = 57347
View Source
const ENABLE = 57397
View Source
const ENCLOSED = 57834
View Source
const ENCRYPTION = 57637
View Source
const END = 57466
View Source
const ENFORCED = 57662
View Source
const ENGINE = 57638
View Source
const ENGINES = 57791
View Source
const ENGINE_ATTRIBUTE = 57653
View Source
const ENUM = 57549
View Source
const ERRORS = 57856
View Source
const ESCAPE = 57613
View Source
const ESCAPED = 57835
View Source
const EVENT = 57786
View Source
const EVENTS = 57885
View Source
const EXCEPT = 57349
View Source
const EXCLUSIVE = 57819
View Source
const EXECUTE = 57772
View Source
const EXISTS = 57381
View Source
const EXPANSION = 57943
View Source
const EXPIRE = 57744
View Source
const EXPLAIN = 57611
View Source
const EXTENDED = 57850
View Source
const EXTENSION = 57680
View Source
const EXTERNAL = 57674
View Source
const EXTRACT = 57962
View Source
const FAILED_LOGIN_ATTEMPTS = 57802
View Source
const FALSE = 57451
View Source
const FIELDS = 57853
View Source
const FILE = 57782
View Source
const FILES = 57783
View Source
const FILESYSTEM = 58059
View Source
const FILL = 58036
View Source
const FIRST = 57390
View Source
const FIRST_VALUE = 57996
View Source
const FIXED = 57650
View Source
const FLOAT = 57446
View Source
const FLOAT_TYPE = 57524
View Source
const FOLLOWING = 57845
View Source
const FOR = 57368
View Source
const FORCE = 57422
View Source
const FORCE_QUOTE = 58016
View Source
const FORCE_SYNC = 57732
View Source
const FOREIGN = 57607
View Source
const FORMAT = 57824
View Source
const FROM = 57361
View Source
const FULL = 57851
View Source
const FULLTEXT = 57606
View Source
const FUNCTION = 57769
View Source
const GE = 57470
View Source
const GENERATED = 58022
View Source
const GEOGRAPHY = 57562
View Source
const GEOGRAPHY32 = 57563
View Source
const GEOMETRY = 57553
View Source
const GEOMETRY32 = 57561
View Source
const GEOMETRYCOLLECTION = 57557
View Source
const GEOMETRYCOLLECTION32 = 57567
View Source
const GET_FORMAT = 58006
View Source
const GLOBAL = 57872
View Source
const GRANT = 57774
View Source
const GRANTS = 57372
View Source
const GRAPH_DEGREE = 57735
View Source
const GROUP = 57363
View Source
const GROUPING = 58049
View Source
const GROUPS = 57846
View Source
const GROUP_CONCAT = 57963
View Source
const HANDLER = 58040
View Source
const HASH = 57712
View Source
const HAVING = 57364
View Source
const HEADER = 58014
View Source
const HEADERS = 57927
View Source
const HEX = 57445
View Source
const HEXNUM = 57447
View Source
const HIGH_PRIORITY = 57583
View Source
const HISTORY = 57798
View Source
const HNSW = 57717
View Source
const HOUR = 57759
View Source
const HOUR_MICROSECOND = 57906
View Source
const HOUR_MINUTE = 57908
View Source
const HOUR_SECOND = 57907
View Source
const ID = 57431
View Source
const IDENTIFIED = 57808
View Source
const IF = 57601
View Source
const IGNORE = 57600
View Source
const ILIKE = 57478
View Source
const IMPORT = 57839
View Source
const IN = 57476
View Source
const INCLUDE = 57740
View Source
const INCREMENT = 57696
View Source
const INDEX = 57597
View Source
const INDEXES = 57858
View Source
const INFILE = 57831
View Source
const INLINE = 57830
View Source
const INNER = 57417
View Source
const INOUT = 57501
View Source
const INPLACE = 57394
View Source
const INSERT = 57358
View Source
const INSERT_METHOD = 57655
View Source
const INSTANT = 57393
View Source
const INT = 57495
View Source
const INT1 = 57571
View Source
const INT2 = 57572
View Source
const INT3 = 57573
View Source
const INT4 = 57574
View Source
const INT8 = 57575
View Source
const INTEGER = 57496
View Source
const INTEGRAL = 57444
View Source
const INTERMEDIATE_GRAPH_DEGREE = 57734
View Source
const INTERNAL = 58046
View Source
const INTERSECT = 57350
View Source
const INTERVAL = 57499
View Source
const INTNUM = 57521
View Source
const INTO = 57384
View Source
const INVISIBLE = 57710
View Source
const INVOKER = 57402
View Source
const IS = 57473
View Source
const ISOLATION = 57875
View Source
const ISSUER = 57810
View Source
const ITERATE = 58031
View Source
const ITOPK_SIZE = 57739
View Source
const IVFFLAT = 57715
View Source
const IVFPQ = 57719
View Source
const JOIN = 57413
View Source
const JSON = 57548
View Source
const JSONTYPE = 57841
View Source
const KEY = 57455
View Source
const KEYS = 57388
View Source
const KEY_BLOCK_SIZE = 57608
View Source
const KILL = 58057
View Source
const KMEANS = 57974
View Source
const KMEANS_MAX_ITERATION = 57742
View Source
const KMEANS_TRAIN_PERCENT = 57741
View Source
const LAG = 57994
View Source
const LANGUAGE = 57941
View Source
const LAST = 57391
View Source
const LASTVAL = 58011
View Source
const LAST_VALUE = 57997
View Source
const LE = 57469
View Source
const LEAD = 57995
View Source
const LEADING = 57721
View Source
const LEAVE = 58030
View Source
const LEFT = 57415
View Source
const LESS = 57620
View Source
const LEVEL = 57876
View Source
const LEX_ERROR = 57346
View Source
const LIKE = 57474
View Source
const LIMIT = 57366
View Source
const LINEAR = 57666
View Source
const LINES = 57837
View Source
const LINESTRING = 57555
View Source
const LINESTRING32 = 57565
View Source
const LIST = 57664
View Source
const LISTS = 57725
View Source
const LIST_ARG = 57436
View Source
const LOAD = 57829
View Source
const LOCAL = 57884
View Source
const LOCALFILE = 57675
View Source
const LOCALTIME = 57890
View Source
const LOCALTIMESTAMP = 57891
View Source
const LOCK = 57387
View Source
const LOCKS = 57861
View Source
const LOG = 57685
View Source
const LOGSERVICE = 58053
View Source
const LONGBLOB = 57547
View Source
const LONGTEXT = 57542
View Source
const LONG_ARROW = 57482
View Source
const LOOP = 58028
View Source
const LOWER_THAN_CHARSET = 57452
View Source
const LOWER_THAN_COLLATE = 57486
View Source
const LOWER_THAN_COMMA = 57354
View Source
const LOWER_THAN_EQ = 57468
View Source
const LOWER_THAN_INT = 57494
View Source
const LOWER_THAN_ON = 57426
View Source
const LOWER_THAN_ORDER = 57352
View Source
const LOWER_THAN_SET = 57375
View Source
const LOWER_THAN_SIGNED = 57489
View Source
const LOWER_THAN_STRING = 57430
View Source
const LOWER_THAN_WITH = 57355
View Source
const LOWER_THAN_ZEROFILL = 57492
View Source
const LOW_CARDINALITY = 57792
View Source
const LOW_PRIORITY = 57582
View Source
const M = 57730
View Source
const MANAGE = 57371
View Source
const MASTER = 57716
View Source
const MATCH = 57938
View Source
const MAX = 57964
View Source
const MAXVALUE = 57617
View Source
const MAX_CONNECTIONS_PER_HOUR = 57822
View Source
const MAX_FILE_SIZE = 58015
View Source
const MAX_INDEX_CAPACITY = 57743
View Source
const MAX_QUERIES_PER_HOUR = 57820
View Source
const MAX_ROWS = 57639
View Source
const MAX_UPDATES_PER_HOUR = 57821
View Source
const MAX_USER_CONNECTIONS = 57823
View Source
const MEDIAN = 57972
View Source
const MEDIUMBLOB = 57546
View Source
const MEDIUMINT = 57519
View Source
const MEDIUMTEXT = 57541
View Source
const MEMORY = 57631
View Source
const MERGE = 57399
View Source
const MICROSECOND = 57760
View Source
const MID = 57965
View Source
const MIN = 57966
View Source
const MINUS = 57351
View Source
const MINUTE = 57761
View Source
const MINUTE_MICROSECOND = 57904
View Source
const MINUTE_SECOND = 57905
View Source
const MINVALUE = 57698
View Source
const MIN_ROWS = 57640
View Source
const MOD = 57484
View Source
const MODE = 57410
View Source
const MODIFY = 57753
View Source
const MODUMP = 57842
View Source
const MONTH = 57762
View Source
const MO_TS = 58043
View Source
const MULTILINESTRING = 57559
View Source
const MULTILINESTRING32 = 57569
View Source
const MULTIPOINT = 57558
View Source
const MULTIPOINT32 = 57568
View Source
const MULTIPOLYGON = 57560
View Source
const MULTIPOLYGON32 = 57570
View Source
const MYSQL_COMPATIBILITY_MODE = 57751
View Source
const NAMES = 57871
View Source
const NATURAL = 57420
View Source
const NCHAR = 57538
View Source
const NE = 57471
View Source
const NEVER = 57749
View Source
const NEXT = 57407
View Source
const NEXTVAL = 58008
View Source
const NO = 57512
View Source
const NODE = 57860
View Source
const NONE = 57816
View Source
const NOT = 57460
View Source
const NOW = 57967
View Source
const NTH_VALUE = 57998
View Source
const NTILE = 57999
View Source
const NULL = 57449
View Source
const NULLS = 57389
View Source
const NULLX = 57788
View Source
const NULL_SAFE_EQUAL = 57472
View Source
const NUMERIC = 57526
View Source
const OF = 57369
View Source
const OFFSET = 57367
View Source
const ON = 57427
View Source
const ONLY = 57879
View Source
const OPEN = 57855
View Source
const OPTIMIZE = 57615
View Source
const OPTION = 57775
View Source
const OPTIONAL = 57801
View Source
const OPTIONALLY = 57833
View Source
const OP_TYPE = 57726
View Source
const OR = 57456
View Source
const ORDER = 57353
View Source
const OUT = 57500
View Source
const OUTER = 57418
View Source
const OUTFILE = 58013
View Source
const OUTPUT = 57694
View Source
const OVER = 57843
View Source
const OWNERSHIP = 57373
View Source
const PACK_KEYS = 57641
View Source
const PARALLEL = 58017
View Source
const PARALLELISM = 58060
View Source
const PARSER = 57708
View Source
const PARTIAL = 57659
View Source
const PARTITION = 57618
View Source
const PARTITIONS = 57667
View Source
const PASSWORD = 57817
View Source
const PASSWORD_LOCK_TIME = 57803
View Source
const PAUSE = 57931
View Source
const PERCENT = 58041
View Source
const PERCENT_RANK = 58000
View Source
const PERIOD = 57682
View Source
const PERSIST = 57873
View Source
const PHYPLAN = 57591
View Source
const PICK = 57689
View Source
const PIPE_CONCAT = 57457
View Source
const PITR = 58044
View Source
const PLUGINS = 57886
View Source
const POINT = 57554
View Source
const POINT32 = 57564
View Source
const POLYGON = 57556
View Source
const POLYGON32 = 57566
View Source
const POSITION = 57968
View Source
const PRECEDING = 57844
View Source
const PRECISION = 57528
View Source
const PREPARE = 57677
View Source
const PREV = 58034
View Source
const PRIMARY = 57602
View Source
const PRIORITY = 57514
View Source
const PRIVILEGES = 57770
View Source
const PROCEDURE = 57622
View Source
const PROCESSLIST = 57852
View Source
const PROFILES = 57828
View Source
const PROPERTIES = 57707
View Source
const PROXY = 57627
View Source
const PUBLICATION = 57699
View Source
const PUBLICATIONS = 57702
View Source
const PUMP = 57750
View Source
const QUANTIZATION = 57736
View Source
const QUARTER = 57763
View Source
const QUERY = 57942
View Source
const QUERY_RESULT = 58062
View Source
const QUICK = 57515
View Source
const QUOTE_ID = 57439
View Source
const RANDOM = 57795
View Source
const RANGE = 57663
View Source
const RANK = 57989
View Source
const READ = 57877
View Source
const REAL = 57522
View Source
const REBASE = 57687
View Source
const RECOVERY_WINDOW = 58045
View Source
const RECURSIVE = 57922
View Source
const REDUNDANT = 57648
View Source
const REFERENCE = 57374
View Source
const REFERENCES = 57776
View Source
const REGEXP = 57475
View Source
const REINDEX = 57727
View Source
const RELEASE = 57513
View Source
const RELOAD = 57781
View Source
const REMOVE = 57589
View Source
const RENAME = 57588
View Source
const REORGANIZE = 57619
View Source
const REPAIR = 57614
View Source
const REPEAT = 57764
View Source
const REPEATABLE = 57880
View Source
const REPLACE = 57895
View Source
const REPLICAS = 58054
View Source
const REPLICATION = 57777
View Source
const REQUIRE = 57814
View Source
const RESET = 57679
View Source
const RESTORE = 58061
View Source
const RESTRICT = 57656
View Source
const RESTRICTED = 57806
View Source
const RESUME = 57933
View Source
const RETENTION = 57681
View Source
const RETRY = 57947
View Source
const RETURNS = 57593
View Source
const REUSE = 57799
View Source
const REVERSE = 57765
View Source
const REVERT = 57686
View Source
const REVOKE = 57768
View Source
const RIGHT = 57416
View Source
const ROLE = 57626
View Source
const ROLES = 57862
View Source
const ROLLBACK = 57506
View Source
const ROLLUP = 58052
View Source
const ROUTINE = 57785
View Source
const ROW = 58012
View Source
const ROWS = 57838
View Source
const ROW_COUNT = 57766
View Source
const ROW_FORMAT = 57642
View Source
const ROW_NUMBER = 57990
View Source
const RTREE = 57713
View Source
const RULE = 57863
View Source
const RULES = 57864
View Source
const RUNS = 57870
View Source
const S3OPTION = 57576
View Source
const SAMPLE = 58042
View Source
const SAN = 57813
View Source
const SAVEPOINT = 57510
View Source
const SCHEDULE = 57934
View Source
const SCHEMA = 57594
View Source
const SCHEMAS = 57859
View Source
const SECOND = 57755
View Source
const SECONDARY = 57805
View Source
const SECONDARY_ENGINE_ATTRIBUTE = 57654
View Source
const SECOND_MICROSECOND = 57903
View Source
const SECURITY = 57404
View Source
const SELECT = 57357
View Source
const SEPARATOR = 57897
View Source
const SEQUENCE = 57596
View Source
const SEQUENCES = 57849
View Source
const SERIALIZABLE = 57883
View Source
const SERIAL_EXTRACT = 57956
View Source
const SERVERS = 58039
View Source
const SESSION = 57874
View Source
const SESSION_USER = 57969
View Source
const SET = 57376
View Source
const SETS = 58050
View Source
const SETTINGS = 58056
View Source
const SETVAL = 58009
View Source
const SHARE = 57409
View Source
const SHARED = 57818
View Source
const SHIFT_LEFT = 57479
View Source
const SHIFT_RIGHT = 57480
View Source
const SHOW = 57609
View Source
const SHUTDOWN = 57787
View Source
const SIGNED = 57490
View Source
const SIMPLE = 57660
View Source
const SLAVE = 57778
View Source
const SLIDING = 58035
View Source
const SMALLINT = 57518
View Source
const SNAPSHOT = 57509
View Source
const SNAPSHOTS = 57443
View Source
const SOME = 57673
View Source
const SOURCE = 57925
View Source
const SPATIAL = 57605
View Source
const SPBEGIN = 58037
View Source
const SPLITSIZE = 58019
View Source
const SQL = 57403
View Source
const SQL_BIG_RESULT = 57579
View Source
const SQL_BUFFER_RESULT = 57580
View Source
const SQL_CACHE = 57412
View Source
const SQL_CALC_FOUND_ROWS = 57581
View Source
const SQL_NO_CACHE = 57411
View Source
const SQL_SMALL_RESULT = 57578
View Source
const SQL_TSI_DAY = 57915
View Source
const SQL_TSI_HOUR = 57914
View Source
const SQL_TSI_MINUTE = 57921
View Source
const SQL_TSI_MONTH = 57917
View Source
const SQL_TSI_QUARTER = 57918
View Source
const SQL_TSI_SECOND = 57920
View Source
const SQL_TSI_WEEK = 57916
View Source
const SQL_TSI_YEAR = 57919
View Source
const SRID = 58007
View Source
const SSL = 57815
View Source
const STAGE = 57440
View Source
const STAGEOPTION = 57577
View Source
const STAGES = 57442
View Source
const START = 57503
View Source
const STARTING = 57836
View Source
const STATS_AUTO_RECALC = 57643
View Source
const STATS_PERSISTENT = 57644
View Source
const STATS_SAMPLE_PAGES = 57645
View Source
const STATUS = 57624
View Source
const STD = 57970
View Source
const STDDEV = 57971
View Source
const STDDEV_POP = 57975
View Source
const STDDEV_SAMP = 57976
View Source
const STORAGE = 57629
View Source
const STORED = 58024
View Source
const STORES = 58055
View Source
const STRAIGHT_JOIN = 57414
View Source
const STREAM = 57926
View Source
const STRICT = 58018
View Source
const STRING = 57434
View Source
const SUBDATE = 57977
View Source
const SUBJECT = 57812
View Source
const SUBPARTITION = 57668
View Source
const SUBPARTITIONS = 57669
View Source
const SUBQUERY_AS_EXPR = 57429
View Source
const SUBSCRIPTION = 57700
View Source
const SUBSCRIPTIONS = 57701
View Source
const SUBSTR = 57978
View Source
const SUBSTRING = 57979
View Source
const SUM = 57980
View Source
const SUMMARY = 57695
View Source
const SUPER = 57773
View Source
const SUSPEND = 57796
View Source
const SYNC = 57704
View Source
const SYNC_INTERVAL = 57703
View Source
const SYSDATE = 57981
View Source
const SYSTEM_USER = 57982
View Source
const TABLE = 57595
View Source
const TABLES = 57848
View Source
const TABLESPACE = 57771
View Source
const TABLE_NUMBER = 57865
View Source
const TABLE_SIZE = 57868
View Source
const TABLE_VALUES = 57867
View Source
const TASK = 57937
View Source
const TASKS = 57869
View Source
const TEMPORARY = 57784
View Source
const TEMPTABLE = 57400
View Source
const TERMINATED = 57832
View Source
const TEXT = 57539
View Source
const THAN = 57621
View Source
const THEN = 57464
View Source
const TIME = 57529
View Source
const TIMEOUT = 57936
View Source
const TIMESTAMP = 57530
View Source
const TIMESTAMPADD = 57899
View Source
const TIMESTAMPDIFF = 57898
View Source
const TIMEZONE = 57935
View Source
const TINYBLOB = 57545
View Source
const TINYINT = 57517
View Source
const TINYTEXT = 57540
View Source
const TO = 57599
View Source
const TRAILING = 57723
View Source
const TRANSACTION = 57504
View Source
const TRANSLATE = 57983
View Source
const TRIGGER = 57623
View Source
const TRIGGERS = 57827
View Source
const TRIM = 57984
View Source
const TRUE = 57450
View Source
const TRUNCATE = 57616
View Source
const TYPE = 57671
View Source
const TYPECAST = 57488
View Source
const UNARY = 57485
View Source
const UNBOUNDED = 57804
View Source
const UNCOMMITTED = 57882
View Source
const UNDEFINED = 57398
View Source
const UNDERSCORE_BINARY = 57498
View Source
const UNION = 57348
View Source
const UNIQUE = 57454
View Source
const UNIQUE_CHECK_ON_AUTOINCR = 57752
View Source
const UNKNOWN = 57724
View Source
const UNLOCK = 57747
View Source
const UNSIGNED = 57491
View Source
const UNTIL = 58032
View Source
const UNUSED = 58020
View Source
const UPDATE = 57359
View Source
const UPGRADE = 57946
View Source
const URL = 57676
View Source
const USAGE = 57780
View Source
const USE = 57421
View Source
const USER = 57807
View Source
const USING = 57428
View Source
const UTC_DATE = 57892
View Source
const UTC_TIME = 57893
View Source
const UTC_TIMESTAMP = 57894
View Source
const UUID = 57550
View Source
const VALIDATION = 57945
View Source
const VALUE = 57408
View Source
const VALUES = 57406
View Source
const VALUE_ARG = 57435
View Source
const VARBINARY = 57537
View Source
const VARCHAR = 57534
View Source
const VARIABLES = 57625
View Source
const VARIANCE = 57985
View Source
const VAR_POP = 57986
View Source
const VAR_SAMP = 57987
View Source
const VECF32 = 57551
View Source
const VECF64 = 57552
View Source
const VERBOSE = 57825
View Source
const VIEW = 57598
View Source
const VIRTUAL = 58025
View Source
const VISIBLE = 57709
View Source
const WARNINGS = 57857
View Source
const WEEK = 57767
View Source
const WHEN = 57463
View Source
const WHERE = 57362
View Source
const WHILE = 58029
View Source
const WITH = 57356
View Source
const WITHOUT = 57944
View Source
const WORK = 57507
View Source
const WRITE = 57878
View Source
const X509 = 57811
View Source
const XOR = 57458
View Source
const YEAR = 57532
View Source
const YEAR_MONTH = 57913
View Source
const ZEROFILL = 57493
View Source
const ZONEMAP = 57720

Variables

View Source
var CaseInsensitiveDbs = []string{"information_schema", "mysql"}

Functions

func EofChar added in v1.1.0

func EofChar() int

func ExtractMysqlComment added in v0.6.0

func ExtractMysqlComment(sql string) (string, string)

ExtractMysqlComment extracts the version and SQL from a comment-only query such as /*!50708 sql here */

func Parse

func Parse(ctx context.Context, sql string, lower int64) ([]tree.Statement, error)

func ParseOne

func ParseOne(ctx context.Context, sql string, lower int64) (tree.Statement, error)

func PutScanner added in v0.8.0

func PutScanner(scanner *Scanner)

Types

type Lexer

type Lexer struct {
	// contains filtered or unexported fields
}

func NewLexer

func NewLexer(dialectType dialect.DialectType, sql string, lower int64) *Lexer

func (*Lexer) AppendStmt

func (l *Lexer) AppendStmt(stmt tree.Statement)

func (*Lexer) Error

func (l *Lexer) Error(err string)

func (*Lexer) GetDbOrTblName added in v1.2.2

func (l *Lexer) GetDbOrTblName(origin string) string

func (*Lexer) GetDbOrTblNameCStr added in v1.2.2

func (l *Lexer) GetDbOrTblNameCStr(origin string) *tree.CStr

func (*Lexer) GetParamIndex added in v0.6.0

func (l *Lexer) GetParamIndex() int

func (*Lexer) Lex

func (l *Lexer) Lex(lval *yySymType) int

type MySQLParser

type MySQLParser struct {
	// contains filtered or unexported fields
}

func (*MySQLParser) Parse

func (p *MySQLParser) Parse(ctx context.Context, sql string, lower int64) ([]tree.Statement, error)

type PositionedErr added in v0.6.0

type PositionedErr struct {
	Err    string
	Line   int
	Col    int
	Near   string
	LenStr string
}

PositionedErr holds context related to parser errros

func (PositionedErr) Error added in v0.6.0

func (p PositionedErr) Error() string

type Scanner added in v0.6.0

type Scanner struct {
	LastToken string
	LastError error

	MysqlSpecialComment *Scanner

	CommentFlag bool
	Pos         int
	Line        int
	Col         int
	PrePos      int
	// contains filtered or unexported fields
}

func NewScanner added in v0.6.0

func NewScanner(dialectType dialect.DialectType, sql string) *Scanner

func (*Scanner) Scan added in v0.6.0

func (s *Scanner) Scan() (int, string)

func (*Scanner) ScanComment added in v1.1.0

func (s *Scanner) ScanComment() (int, string)

ScanComment finds all Comment (/* */, //) until gets EOF or LEX_ERROR

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL