# Functions
AbbrDayOfMonth: Get the abbreviation of month of day.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CalcToSeconds: CalcToDays is used to return a day number (the number of days since year 0).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DateFSP gets fsp from date string.
No description provided by the author
No description provided by the author
DateStringToDate can still speed up if vec is const.
TODO: I will support template soon.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DateTimeDiff returns t2 - t1 where t1 and t2 are datetime expressions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeduceNotNullable helps optimization sometimes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FormatIntByWidth: Formatintwidthn is used to format ints with width parameter n.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: may support soon.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Too confused.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MoTableColMax return the max value of the column.
MoTableColMax return the max value of the column.
MoTableRows returns an estimated row number of a table.
MoTableSize returns an estimated size of a table.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunFunctionDirectly runs a function directly without any protections.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
ABS.
ACOS.
Add a fault point.
ADDDATE.
ADDTIME.
The number of days in the year 0000 AD.
Seconds in 0000 AD.
AES_DECRYPT.
AES_ENCRYPT.
ALL.
No description provided by the author
AND.
ANY.
ANY_VALUE.
APPROX_COUNT_DISTINCT, special aggregate.
No description provided by the author
ARRAY_AGG.
ARRAY_APPEND.
ARRAY_CAT.
ARRAY_CONTAINS.
ARRAY_POSITION.
ARRAY_SIZE.
ASCII.
ASIN.
ASSERT.
ATAN.
ATAN2.
No description provided by the author
AVG.
BASE64_DECODE.
BASE64_ENCODE.
BETWEEN.
No description provided by the author
BIN.
All function IDs.
binary arithmetic operator.
binary logical operator.
BIT_AND.
BIT_LENGTH.
BIT_NOT.
BIT_OR.
BIT_XOR.
BITAGG_AND.
BITAGG_OR.
BOOLAGG_AND.
BOOLAGG_OR.
All function IDs.
CASE.
case when expression.
CAST.
cast expression.
CEIL.
All function IDs.
CHR.
COALESCE.
All function IDs.
comparison operator.
||.
All function IDs.
All function IDs.
CONTAINS.
CORR.
COS.
COT.
COUNT.
COUNT_IF.
COVAR_POP.
COVAR_SAMPLE.
CUME_DIST.
All function IDs.
All function IDs.
CURRENT_DATE.
All function IDs.
All function IDs.
All function IDs.
CURRENT_TIMESTAMP.
All function IDs.
All function IDs.
All function IDs.
information functionsReference to : https://dev.mysql.com/doc/refman/8.0/en/information-functions.html.
DATE.
DATE_ADD.
DATE_FORMAT.
DATE_FROM_PARTS.
date expression,interval expression.
DATE_PART.
DATE_SUB.
DATEADD.
DATEDIFF.
DAY.
DAYOFYEAR.
No description provided by the author
No description provided by the author
DENSE_RANK.
All function IDs.
No description provided by the author
No description provided by the author
/.
All function IDs.
All function IDs.
ENDSWITH.
=.
EXISTS.
query predicate,such as exist,all,any.
EXP.
EXTRACT.
extract function,such as extract(MONTH/DAY/HOUR/MINUTE/SECOND FROM p).
No description provided by the author
FIELD.
All function IDs.
FIRST_VALUE.
FLOOR.
FORMAT.
All function IDs.
All function IDs.
FUNCTION_END_NUMBER is not a function, just a flag to record the max number of function.
All function IDs.
>=.
>.
GREATEST.
All function IDs.
GROUPING_ID.
HASH.
HASH_AGG.
HEX.
HEX_DECODE.
HEX_ENCODE.
HOUR.
All function IDs.
IFF.
IFNULL.
ILIKE.
ILIKE_ALL.
ILIKE_ANY.
IN.
query 'in' predicate.
All function IDs.
Div.
All function IDs.
All function IDs.
All function IDs.
All function IDs.
All function IDs.
All function IDs.
All function IDs.
INTERVAL.
IS.
IS expression.
IS NOT operator.
ISEMPTY.
ISFALSE.
ISNOT.
ISNOTTRUE.
ISNOTNULL.
ISNOTTRUE.
ISNOTUNKNOWN.
ISNULL.
ISTRUE.
ISUNKNOWN.
No description provided by the author
JSON_EXTRACT.
JSON_QUOTE.
JSON_UNQUOTE.
No description provided by the author
No description provided by the author
LAG.
All function IDs.
All function IDs.
All function IDs.
LAST_VALUE.
All function IDs.
LEAD.
LEAST.
LEFT.
LENGTH.
All function IDs.
<=.
<.
LIKE.
LIKE_ALL.
LIKE_ANY.
LN.
LOAD_FILE.
LOG.
LOWER.
LPAD.
LTRIM.
No description provided by the author
MAX.
No description provided by the author
No description provided by the author
MEDIAN.
MIN.
-.
MINUTE.
MO_CTL is used to check some internal status, and issue some ctl commands to the service.
All function IDs.
All function IDs.
parse date from string, like __mo_filepath.
Dump memory usage.
parse type/onUpdate/default []byte to visible string.
table column max value.
table column min value.
table rows.
table size.
%.
MODE.
All function IDs.
*.
Sequence function.
noparameter function.
NORMAL.
NOT.
<>.
NOT_IN.
NOT_IN_ROWS.
NOT_REG_MATCH.
No description provided by the author
NTH_VALUE.
NTILE.
NULLIF.
All function IDs.
No description provided by the author
&.
|.
<<.
>>.
^.
OR.
PERCENT_RANK.
PI.
+.
POSITION.
position function, such as POSITION(substr IN str).
POW.
RADIAN.
RANDOM.
RANK.
REG_MATHCH.
REGEXP.
REGEXP_INSTR.
REGEXP_LIKE.
REGEXP_REPLACE.
REGEXP_SUBSTR.
Remove.
REPEAT.
REPLACE.
All function IDs.
RIGHT.
All function IDs.
ROUND.
All function IDs.
ROW_NUMBER.
RPAD.
RTRIM.
SECOND.
24-hour seconds.
No description provided by the author
All function IDs.
All function IDs.
SIGN.
SIN.
SINH.
sleep for a while.
All function IDs.
SPLIT.
SPLIT_PART.
standard function.
STARTCOUNT.
STARTSWITH.
STDDEV_POP.
STDDEV_SAMPLE.
All function IDs.
SUBSTR.
SUBSTRING.
SUBSTRING_INDEX.
SUM.
TAN.
TIME.
TIMEDIFF.
TIMESTAMP.
TIMESTAMPDIFF.
All function IDs.
All function IDs.
TO_INTERVAL.
All function IDs.
TRANSLATE.
Trigger.
TRIM.
unary arithmetic operator.
unary logical operator.
UNARY_MINUS -.
UNARY_PLUS +.
UNARY_TILDE ~.
UNIFORM.
All function IDs.
No description provided by the author
UPPER.
All function IDs.
All function IDs.
All function IDs.
be used: insert into t1 values(1,1) on duplicate key update a=values(a)+a+1.
VAR_POP.
VAR_SAMPLE.
All function IDs.
WEEK.
All function IDs.
XOR.
YEAR.
# Variables
AbbrevWeekdayName lists Abbreviation of week names, which are used int builtin function 'date_format'.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
19.
20.
MonthNames lists names of months, which are used in builtin function `date_format`.
ScaleTable is a lookup array for digits.
No description provided by the author
WeekdayNames lists names of weekdays, which are used in builtin function `date_format`.
# Structs
No description provided by the author
FuncNew stores all information about a function.
GeneralTime is the internal struct type for Time.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
The month represents one month of the year (January=1,...).