-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathall_functions_reference.txt
281 lines (272 loc) · 2.57 KB
/
all_functions_reference.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
== Note: This file contains all valid function names that can be put in `functions.txt`. ==
== common functions ==
and
bit_count
bitand
bitneg
bitor
bitxor
case
cast
coalesce
div
eq
ge
getparam
getvar
greatest
gt
in
intdiv
interval
isfalse
isnull
istrue
le
least
leftshift
like
lt
minus
mod
mul
ne
not
nulleq
or
plus
regexp
rightshift
row
setvar
unaryminus
unaryplus
values
xor
== math functions ==
abs
acos
asin
atan
atan2
ceil
ceiling
conv
cos
cot
crc32
degrees
exp
floor
ln
log
log10
log2
pi
pow
power
radians
rand
round
sign
sin
sqrt
tan
truncate
== time functions ==
adddate
addtime
convert_tz
curdate
current_date
current_time
current_timestamp
curtime
date
date_add
date_format
date_sub
datediff
day
dayname
dayofmonth
dayofweek
dayofyear
extract
from_days
from_unixtime
get_format
hour
last_day
localtime
localtimestamp
makedate
maketime
microsecond
minute
month
monthname
now
period_add
period_diff
quarter
sec_to_time
second
str_to_date
subdate
subtime
sysdate
time
time_format
time_to_sec
timediff
timestamp
timestampadd
timestampdiff
to_days
to_seconds
unix_timestamp
utc_date
utc_time
utc_timestamp
week
weekday
weekofyear
year
yearweek
== string functions ==
ascii
bin
bit_length
char_func
char_length
character_length
concat
concat_ws
convert
elt
export_set
field
find_in_set
format
from_base64
hex
insert_func
instr
lcase
left
length
load_file
locate
lower
lpad
ltrim
make_set
mid
oct
octet_length
ord
position
quote
repeat
replace
reverse
right
rpad
rtrim
space
strcmp
substr
substring
substring_index
to_base64
trim
ucase
unhex
upper
== information functions ==
benchmark
charset
coercibility
collation
connection_id
current_role
current_user
database
found_rows
last_insert_id
row_count
schema
session_user
system_user
user
version
== control functions ==
if
ifnull
nullif
== miscellaneous functions ==
any_value
default_func
get_lock
inet6_aton
inet6_ntoa
inet_aton
inet_ntoa
is_free_lock
is_ipv4
is_ipv4_compat
is_ipv4_mapped
is_ipv6
is_used_lock
master_pos_wait
name_const
release_all_locks
release_lock
sleep
uuid
uuid_short
== encryption and compression functions ==
aes_decrypt
aes_encrypt
compress
decode
des_decrypt
des_encrypt
encode
encrypt
md5
old_password
password_func
random_bytes
sha
sha1
sha2
uncompress
uncompressed_length
validate_password_strength
== json functions ==
json_array
json_array_append
json_array_insert
json_contains
json_contains_path
json_depth
json_extract
json_insert
json_keys
json_length
json_merge
json_merge_patch
json_merge_preserve
json_object
json_pretty
json_quote
json_remove
json_replace
json_search
json_set
json_storage_size
json_type
json_unquote
json_valid