sqllens 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/THIRD-PARTY-NOTICES.md +31 -6
  2. package/dist/api.d.ts +2 -0
  3. package/dist/api.js +2 -0
  4. package/dist/bigquery/fn-docs.generated.d.ts +2 -0
  5. package/dist/bigquery/fn-docs.generated.js +1704 -0
  6. package/dist/completion/jinja-slot.js +6 -1
  7. package/dist/databricks/fn-docs.generated.d.ts +2 -0
  8. package/dist/databricks/fn-docs.generated.js +3257 -0
  9. package/dist/duckdb/fn-docs.generated.d.ts +2 -0
  10. package/dist/duckdb/fn-docs.generated.js +2051 -0
  11. package/dist/duckdb/fold.js +6 -4
  12. package/dist/ident/fold.d.ts +5 -2
  13. package/dist/ident/fold.js +2 -0
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/infer/types.js +4 -1
  17. package/dist/mysql/fn-docs.generated.d.ts +2 -0
  18. package/dist/mysql/fn-docs.generated.js +1204 -0
  19. package/dist/parse-diagnostics.js +33 -1
  20. package/dist/postgres/fn-docs.generated.d.ts +2 -0
  21. package/dist/postgres/fn-docs.generated.js +2818 -0
  22. package/dist/postgres/fold.js +9 -3
  23. package/dist/postgres/signatures.generated.js +585 -585
  24. package/dist/redshift/fn-docs.generated.d.ts +2 -0
  25. package/dist/redshift/fn-docs.generated.js +1457 -0
  26. package/dist/redshift/fold.js +6 -4
  27. package/dist/sema/resolve.js +3 -1
  28. package/dist/signature/docs.d.ts +16 -0
  29. package/dist/signature/docs.js +47 -0
  30. package/dist/signature/render.d.ts +7 -0
  31. package/dist/signature/render.js +40 -0
  32. package/dist/signature/signature.js +5 -5
  33. package/dist/snowflake/fn-docs.generated.d.ts +2 -0
  34. package/dist/snowflake/fn-docs.generated.js +2461 -0
  35. package/dist/sqlite/fn-docs.generated.d.ts +2 -0
  36. package/dist/sqlite/fn-docs.generated.js +609 -0
  37. package/dist/sqlite/fold.js +5 -7
  38. package/dist/trino/fn-docs.generated.d.ts +2 -0
  39. package/dist/trino/fn-docs.generated.js +1932 -0
  40. package/dist/tsql/fn-docs.generated.d.ts +2 -0
  41. package/dist/tsql/fn-docs.generated.js +1017 -0
  42. package/package.json +1 -1
@@ -0,0 +1,1204 @@
1
+ export const MYSQL_FN_DOCS = {
2
+ abs: {
3
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_abs",
4
+ description: "Returns the absolute value of the argument.",
5
+ origin: "authored",
6
+ },
7
+ acos: {
8
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_acos",
9
+ description: "Returns the arc cosine of the argument in radians.",
10
+ origin: "authored",
11
+ },
12
+ adddate: {
13
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_adddate",
14
+ description: "Returns the date that results from adding the specified number of days to a date.",
15
+ origin: "authored",
16
+ },
17
+ addtime: {
18
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_addtime",
19
+ description: "Adds a time interval to a time or datetime value and returns the result.",
20
+ origin: "authored",
21
+ },
22
+ any_value: {
23
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_any-value",
24
+ description: "Returns an arbitrary value from the group; suppresses ONLY_FULL_GROUP_BY constraint checks.",
25
+ origin: "authored",
26
+ },
27
+ ascii: {
28
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_ascii",
29
+ description: "Returns the numeric ASCII code value of the leftmost character in the string.",
30
+ origin: "authored",
31
+ },
32
+ asin: {
33
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_asin",
34
+ description: "Returns the arc sine of the argument in radians.",
35
+ origin: "authored",
36
+ },
37
+ atan: {
38
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_atan",
39
+ description: "Returns the arc tangent of the argument (or Y/X when two arguments given) in radians.",
40
+ origin: "authored",
41
+ },
42
+ atan2: {
43
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_atan2",
44
+ description: "Returns the arc tangent of Y/X in radians.",
45
+ origin: "authored",
46
+ },
47
+ avg: {
48
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_avg",
49
+ description: "Returns the average value of a numeric expression over a row set.",
50
+ origin: "authored",
51
+ },
52
+ benchmark: {
53
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_benchmark",
54
+ description: "Executes the expression repeatedly and returns zero, useful for timing operations.",
55
+ origin: "authored",
56
+ },
57
+ bin: {
58
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_bin",
59
+ description: "Returns the binary string representation of the argument.",
60
+ origin: "authored",
61
+ },
62
+ bin_to_uuid: {
63
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_bin-to-uuid",
64
+ description: "Converts a binary UUID to its text representation in standard UUID format.",
65
+ origin: "authored",
66
+ },
67
+ bit_and: {
68
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_bit-and",
69
+ description: "Returns the bitwise AND of all values in a group.",
70
+ origin: "authored",
71
+ },
72
+ bit_count: {
73
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/bit-functions.html#function_bit-count",
74
+ description: "Returns the number of set bits in the argument.",
75
+ origin: "authored",
76
+ },
77
+ bit_length: {
78
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_bit-length",
79
+ description: "Returns the length of the argument in bits.",
80
+ origin: "authored",
81
+ },
82
+ bit_or: {
83
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_bit-or",
84
+ description: "Returns the bitwise OR of all values in a group.",
85
+ origin: "authored",
86
+ },
87
+ bit_xor: {
88
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_bit-xor",
89
+ description: "Returns the bitwise XOR of all values in a group.",
90
+ origin: "authored",
91
+ },
92
+ cast: {
93
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/cast-functions.html#function_cast",
94
+ description: "Converts the argument to a specified type.",
95
+ origin: "authored",
96
+ },
97
+ ceil: {
98
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_ceil",
99
+ description: "Returns the smallest integer value not less than the argument.",
100
+ origin: "authored",
101
+ },
102
+ ceiling: {
103
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_ceiling",
104
+ description: "Returns the smallest integer value not less than the argument (synonym for CEIL).",
105
+ origin: "authored",
106
+ },
107
+ char_length: {
108
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_char-length",
109
+ description: "Returns the number of characters in the string argument.",
110
+ origin: "authored",
111
+ },
112
+ character_length: {
113
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_character-length",
114
+ description: "Returns the number of characters in the string argument (synonym for CHAR_LENGTH).",
115
+ origin: "authored",
116
+ },
117
+ charset: {
118
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_charset",
119
+ description: "Returns the character set of the argument string.",
120
+ origin: "authored",
121
+ },
122
+ coalesce: {
123
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#function_coalesce",
124
+ description: "Returns the first non-NULL value from the argument list.",
125
+ origin: "authored",
126
+ },
127
+ coercibility: {
128
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_coercibility",
129
+ description: "Returns the collation coercibility value of the argument string.",
130
+ origin: "authored",
131
+ },
132
+ collation: {
133
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_collation",
134
+ description: "Returns the collation of the argument string.",
135
+ origin: "authored",
136
+ },
137
+ compress: {
138
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_compress",
139
+ description: "Compresses the string using the zlib algorithm and returns the compressed result as binary.",
140
+ origin: "authored",
141
+ },
142
+ concat: {
143
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_concat",
144
+ description: "Concatenates the argument strings and returns the resulting string.",
145
+ origin: "authored",
146
+ },
147
+ concat_ws: {
148
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_concat-ws",
149
+ description: "Concatenates strings with a separator between each argument.",
150
+ origin: "authored",
151
+ },
152
+ connection_id: {
153
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_connection-id",
154
+ description: "Returns the numeric identifier for the current connection.",
155
+ origin: "authored",
156
+ },
157
+ conv: {
158
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_conv",
159
+ description: "Converts a number from one base to another and returns the result as a string.",
160
+ origin: "authored",
161
+ },
162
+ convert: {
163
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/cast-functions.html#function_convert",
164
+ description: "Converts the argument to a specified type (equivalent to CAST).",
165
+ origin: "authored",
166
+ },
167
+ convert_tz: {
168
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_convert-tz",
169
+ description: "Converts a datetime value from one timezone to another.",
170
+ origin: "authored",
171
+ },
172
+ cos: {
173
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_cos",
174
+ origin: "vendor-docs",
175
+ },
176
+ cot: {
177
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_cot",
178
+ origin: "vendor-docs",
179
+ },
180
+ count: {
181
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_count",
182
+ description: "Returns the number of rows or non-NULL values in a set.",
183
+ origin: "authored",
184
+ },
185
+ crc32: {
186
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_crc32",
187
+ description: "Returns the CRC32 checksum value of the argument string.",
188
+ origin: "authored",
189
+ },
190
+ cume_dist: {
191
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_cume-dist",
192
+ description: "Returns the cumulative distribution of the current row within a partition over the result set.",
193
+ origin: "authored",
194
+ },
195
+ curdate: {
196
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_curdate",
197
+ description: "Returns the current date.",
198
+ origin: "authored",
199
+ },
200
+ current_date: {
201
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_current-date",
202
+ description: "Returns the current date as DATE type.",
203
+ origin: "authored",
204
+ },
205
+ current_role: {
206
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_current-role",
207
+ origin: "vendor-docs",
208
+ },
209
+ current_time: {
210
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_current-time",
211
+ description: "Returns the current time with optional fractional seconds precision.",
212
+ origin: "authored",
213
+ },
214
+ current_timestamp: {
215
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_current-timestamp",
216
+ description: "Returns the current date and time with optional fractional seconds precision.",
217
+ origin: "authored",
218
+ },
219
+ current_user: {
220
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_current-user",
221
+ description: "Returns the current user's name and host as a string.",
222
+ origin: "authored",
223
+ },
224
+ curtime: {
225
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_curtime",
226
+ description: "Returns the current time with optional fractional seconds precision.",
227
+ origin: "authored",
228
+ },
229
+ database: {
230
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_database",
231
+ description: "Returns the name of the currently selected database.",
232
+ origin: "authored",
233
+ },
234
+ date: {
235
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_date",
236
+ description: "Extracts the date portion from a datetime or timestamp expression.",
237
+ origin: "authored",
238
+ },
239
+ date_add: {
240
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_date-add",
241
+ origin: "vendor-docs",
242
+ },
243
+ date_format: {
244
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_date-format",
245
+ description: "Formats a date according to the specified format string.",
246
+ origin: "authored",
247
+ },
248
+ date_sub: {
249
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_date-sub",
250
+ description: "Subtracts an interval from a date and returns the result.",
251
+ origin: "authored",
252
+ },
253
+ datediff: {
254
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_datediff",
255
+ description: "Returns the number of days between two date expressions.",
256
+ origin: "authored",
257
+ },
258
+ day: {
259
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_day",
260
+ description: "Returns the day of the month from a date as an integer between 1 and 31.",
261
+ origin: "authored",
262
+ },
263
+ dayname: {
264
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_dayname",
265
+ description: "Returns the name of the day of the week for a date.",
266
+ origin: "authored",
267
+ },
268
+ dayofmonth: {
269
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_dayofmonth",
270
+ description: "Returns the day of the month from a date as an integer between 1 and 31.",
271
+ origin: "authored",
272
+ },
273
+ dayofweek: {
274
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_dayofweek",
275
+ description: "Returns the day of the week as an integer where 1 is Sunday and 7 is Saturday.",
276
+ origin: "authored",
277
+ },
278
+ dayofyear: {
279
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_dayofyear",
280
+ description: "Returns the day of the year from a date as an integer between 1 and 366.",
281
+ origin: "authored",
282
+ },
283
+ default: {
284
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_default",
285
+ description: "Returns the default value defined for a column.",
286
+ origin: "authored",
287
+ },
288
+ degrees: {
289
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_degrees",
290
+ description: "Converts radians to degrees.",
291
+ origin: "authored",
292
+ },
293
+ dense_rank: {
294
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_dense-rank",
295
+ description: "Returns the rank of the current row within its partition, with no gaps in ranking.",
296
+ origin: "authored",
297
+ },
298
+ elt: {
299
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_elt",
300
+ description: "Returns the Nth element from a list of strings (1-based indexing).",
301
+ origin: "authored",
302
+ },
303
+ exp: {
304
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_exp",
305
+ description: "Returns the mathematical constant e raised to the power of the argument.",
306
+ origin: "authored",
307
+ },
308
+ export_set: {
309
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_export-set",
310
+ description: "Returns a string representing bits in a binary value, with on/off strings for each bit.",
311
+ origin: "authored",
312
+ },
313
+ field: {
314
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_field",
315
+ description: "Returns the 1-based position of a string in a list, or 0 if not found.",
316
+ origin: "authored",
317
+ },
318
+ find_in_set: {
319
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_find-in-set",
320
+ description: "Returns the 1-based position of a string within a comma-separated list, or 0 if not found.",
321
+ origin: "authored",
322
+ },
323
+ first_value: {
324
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_first-value",
325
+ description: "Returns the first value in an ordered set of rows within a partition.",
326
+ origin: "authored",
327
+ },
328
+ floor: {
329
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_floor",
330
+ description: "Returns the largest integer less than or equal to the argument.",
331
+ origin: "authored",
332
+ },
333
+ format: {
334
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_format",
335
+ description: "Formats a number with a specified number of decimal places using optional locale formatting.",
336
+ origin: "authored",
337
+ },
338
+ found_rows: {
339
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_found-rows",
340
+ origin: "vendor-docs",
341
+ },
342
+ from_base64: {
343
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_from-base64",
344
+ description: "Decodes a base64-encoded string and returns the result as a binary value.",
345
+ origin: "authored",
346
+ },
347
+ from_days: {
348
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_from-days",
349
+ origin: "vendor-docs",
350
+ },
351
+ from_unixtime: {
352
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_from-unixtime",
353
+ description: "Converts a Unix timestamp to a date or datetime, optionally formatted according to a format string.",
354
+ origin: "authored",
355
+ },
356
+ get_lock: {
357
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_get-lock",
358
+ description: "Acquires a named advisory lock and returns 1 on success, 0 on timeout, or null on error.",
359
+ origin: "authored",
360
+ },
361
+ greatest: {
362
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#function_greatest",
363
+ description: "Returns the maximum value from a list of arguments.",
364
+ origin: "authored",
365
+ },
366
+ group_concat: {
367
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_group-concat",
368
+ description: "Concatenates values from multiple rows in a group into a single string.",
369
+ origin: "authored",
370
+ },
371
+ hex: {
372
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_hex",
373
+ description: "Returns the hexadecimal representation of a string or number.",
374
+ origin: "authored",
375
+ },
376
+ hour: {
377
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_hour",
378
+ origin: "vendor-docs",
379
+ },
380
+ icu_version: {
381
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_icu-version",
382
+ description: "Returns the version of the International Components for Unicode library.",
383
+ origin: "authored",
384
+ },
385
+ if: {
386
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_if",
387
+ description: "Returns the second argument if the condition is true, otherwise returns the third argument.",
388
+ origin: "authored",
389
+ },
390
+ ifnull: {
391
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_ifnull",
392
+ description: "Returns the first argument if it is not null, otherwise returns the second argument.",
393
+ origin: "authored",
394
+ },
395
+ inet6_aton: {
396
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_inet6-aton",
397
+ description: "Converts an IPv6 address string to its binary representation.",
398
+ origin: "authored",
399
+ },
400
+ inet6_ntoa: {
401
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_inet6-ntoa",
402
+ description: "Converts an IPv6 address from binary representation to a string.",
403
+ origin: "authored",
404
+ },
405
+ inet_aton: {
406
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_inet-aton",
407
+ description: "Converts an IPv4 address string to its numeric representation.",
408
+ origin: "authored",
409
+ },
410
+ inet_ntoa: {
411
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_inet-ntoa",
412
+ description: "Converts an IPv4 address from numeric representation to a string.",
413
+ origin: "authored",
414
+ },
415
+ insert: {
416
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_insert",
417
+ description: "Replaces a substring of specified length starting at a position with a new string.",
418
+ origin: "authored",
419
+ },
420
+ instr: {
421
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_instr",
422
+ description: "Returns the position of the first occurrence of a substring within a string.",
423
+ origin: "authored",
424
+ },
425
+ interval: {
426
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#function_interval",
427
+ description: "Returns the index of the first argument value that is greater than the initial value.",
428
+ origin: "authored",
429
+ },
430
+ is_free_lock: {
431
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_is-free-lock",
432
+ origin: "vendor-docs",
433
+ },
434
+ is_ipv4: {
435
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_is-ipv4",
436
+ description: "Tests whether an expression represents a valid IPv4 address.",
437
+ origin: "authored",
438
+ },
439
+ is_ipv4_compat: {
440
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_is-ipv4-compat",
441
+ description: "Tests whether an IPv6 address is IPv4-compatible.",
442
+ origin: "authored",
443
+ },
444
+ is_ipv4_mapped: {
445
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_is-ipv4-mapped",
446
+ description: "Tests whether an IPv6 address is IPv4-mapped.",
447
+ origin: "authored",
448
+ },
449
+ is_ipv6: {
450
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_is-ipv6",
451
+ description: "Tests whether an expression represents a valid IPv6 address.",
452
+ origin: "authored",
453
+ },
454
+ is_used_lock: {
455
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_is-used-lock",
456
+ description: "Returns the connection ID holding a named lock, or NULL if the lock is not held.",
457
+ origin: "authored",
458
+ },
459
+ is_uuid: {
460
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_is-uuid",
461
+ description: "Tests whether an expression represents a valid UUID.",
462
+ origin: "authored",
463
+ },
464
+ isnull: {
465
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#function_isnull",
466
+ description: "Returns 1 if the argument is NULL, 0 otherwise.",
467
+ origin: "authored",
468
+ },
469
+ json_arrayagg: {
470
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_json-arrayagg",
471
+ description: "Aggregates values into a JSON array by collecting each argument value.",
472
+ origin: "authored",
473
+ },
474
+ json_contains: {
475
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-search-functions.html#function_json-contains",
476
+ description: "Tests whether one JSON document is contained within another.",
477
+ origin: "authored",
478
+ },
479
+ json_depth: {
480
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-attribute-functions.html#function_json-depth",
481
+ description: "Returns the maximum depth of a JSON document.",
482
+ origin: "authored",
483
+ },
484
+ json_extract: {
485
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-search-functions.html#function_json-extract",
486
+ description: "Extracts data from a JSON document at the specified path or paths.",
487
+ origin: "authored",
488
+ },
489
+ json_keys: {
490
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-search-functions.html#function_json-keys",
491
+ origin: "vendor-docs",
492
+ },
493
+ json_length: {
494
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-attribute-functions.html#function_json-length",
495
+ description: "Returns the length of a JSON document or a JSON element at a specified path.",
496
+ origin: "authored",
497
+ },
498
+ json_objectagg: {
499
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_json-objectagg",
500
+ description: "Aggregates key-value pairs into a JSON object.",
501
+ origin: "authored",
502
+ },
503
+ json_overlaps: {
504
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-search-functions.html#function_json-overlaps",
505
+ description: "Tests whether two JSON documents have overlapping content.",
506
+ origin: "authored",
507
+ },
508
+ json_pretty: {
509
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-utility-functions.html#function_json-pretty",
510
+ description: "Returns a formatted version of a JSON document with indentation.",
511
+ origin: "authored",
512
+ },
513
+ json_quote: {
514
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-creation-functions.html#function_json-quote",
515
+ description: "Quotes a string as a JSON string, escaping special characters.",
516
+ origin: "authored",
517
+ },
518
+ json_schema_valid: {
519
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-validation-functions.html#function_json-schema-valid",
520
+ description: "Tests whether a JSON document is valid according to a JSON schema.",
521
+ origin: "authored",
522
+ },
523
+ json_schema_validation_report: {
524
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-validation-functions.html#function_json-schema-validation-report",
525
+ description: "Returns a JSON report detailing validation errors for a document against a schema.",
526
+ origin: "authored",
527
+ },
528
+ json_storage_free: {
529
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-utility-functions.html#function_json-storage-free",
530
+ origin: "vendor-docs",
531
+ },
532
+ json_storage_size: {
533
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-utility-functions.html#function_json-storage-size",
534
+ description: "Returns the size in bytes of the storage space used by a JSON document.",
535
+ origin: "authored",
536
+ },
537
+ json_type: {
538
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-attribute-functions.html#function_json-type",
539
+ origin: "vendor-docs",
540
+ },
541
+ json_unquote: {
542
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-modification-functions.html#function_json-unquote",
543
+ description: "Unquotes a JSON string, removing outer quotes and interpreting escape sequences.",
544
+ origin: "authored",
545
+ },
546
+ json_valid: {
547
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-attribute-functions.html#function_json-valid",
548
+ description: "Tests whether an expression is valid JSON.",
549
+ origin: "authored",
550
+ },
551
+ json_value: {
552
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/json-search-functions.html#function_json-value",
553
+ description: "Extracts a scalar JSON value from a document at the specified path, or NULL if not a scalar.",
554
+ origin: "authored",
555
+ },
556
+ lag: {
557
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_lag",
558
+ description: "Accesses data from a row at a specified offset before the current row within a window.",
559
+ origin: "authored",
560
+ },
561
+ last_day: {
562
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_last-day",
563
+ description: "Returns the last day of the month for the given date.",
564
+ origin: "authored",
565
+ },
566
+ last_insert_id: {
567
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_last-insert-id",
568
+ description: "Returns the value generated by an AUTO_INCREMENT column in the most recent insert.",
569
+ origin: "authored",
570
+ },
571
+ last_value: {
572
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_last-value",
573
+ description: "Returns the last value within the ordered window frame.",
574
+ origin: "authored",
575
+ },
576
+ lcase: {
577
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_lcase",
578
+ description: "Converts a string to lowercase.",
579
+ origin: "authored",
580
+ },
581
+ lead: {
582
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_lead",
583
+ description: "Accesses data from a row at a specified offset after the current row within a window.",
584
+ origin: "authored",
585
+ },
586
+ least: {
587
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#function_least",
588
+ description: "Returns the smallest value from a list of values.",
589
+ origin: "authored",
590
+ },
591
+ left: {
592
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_left",
593
+ description: "Returns the leftmost N characters of a string.",
594
+ origin: "authored",
595
+ },
596
+ length: {
597
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_length",
598
+ origin: "vendor-docs",
599
+ },
600
+ ln: {
601
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_ln",
602
+ description: "Returns the natural logarithm of a number.",
603
+ origin: "authored",
604
+ },
605
+ load_file: {
606
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_load-file",
607
+ description: "Reads and returns the contents of a file as a string.",
608
+ origin: "authored",
609
+ },
610
+ localtime: {
611
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_localtime",
612
+ description: "Returns the current date and time.",
613
+ origin: "authored",
614
+ },
615
+ localtimestamp: {
616
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_localtimestamp",
617
+ description: "Returns the current date and time.",
618
+ origin: "authored",
619
+ },
620
+ locate: {
621
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_locate",
622
+ description: "Returns the position of the first occurrence of a substring within a string.",
623
+ origin: "authored",
624
+ },
625
+ log: {
626
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_log",
627
+ description: "Returns the logarithm of a number to a specified base, or the natural logarithm if no base is given.",
628
+ origin: "authored",
629
+ },
630
+ log10: {
631
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_log10",
632
+ description: "Returns the base-10 logarithm of a number.",
633
+ origin: "authored",
634
+ },
635
+ log2: {
636
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_log2",
637
+ description: "Returns the base-2 logarithm of a number.",
638
+ origin: "authored",
639
+ },
640
+ lower: {
641
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_lower",
642
+ description: "Returns a string converted to lowercase.",
643
+ origin: "authored",
644
+ },
645
+ lpad: {
646
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_lpad",
647
+ description: "Returns a string padded on the left to a specified length.",
648
+ origin: "authored",
649
+ },
650
+ ltrim: {
651
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_ltrim",
652
+ origin: "vendor-docs",
653
+ },
654
+ make_set: {
655
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_make-set",
656
+ description: "Returns a comma-separated string of values corresponding to the set bits in the first argument.",
657
+ origin: "authored",
658
+ },
659
+ makedate: {
660
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_makedate",
661
+ description: "Returns a date constructed from a year and a day-of-year value.",
662
+ origin: "authored",
663
+ },
664
+ maketime: {
665
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_maketime",
666
+ description: "Returns a time value constructed from hour, minute, and second arguments.",
667
+ origin: "authored",
668
+ },
669
+ max: {
670
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_max",
671
+ description: "Returns the maximum value from a set of values.",
672
+ origin: "authored",
673
+ },
674
+ md5: {
675
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_md5",
676
+ description: "Returns the MD5 hash digest of a string.",
677
+ origin: "authored",
678
+ },
679
+ microsecond: {
680
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_microsecond",
681
+ description: "Returns the microsecond component from a time or datetime value.",
682
+ origin: "authored",
683
+ },
684
+ mid: {
685
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_mid",
686
+ description: "Returns a substring starting at a specified position.",
687
+ origin: "authored",
688
+ },
689
+ min: {
690
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_min",
691
+ description: "Returns the minimum value from a set of values.",
692
+ origin: "authored",
693
+ },
694
+ minute: {
695
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_minute",
696
+ description: "Returns the minute component from a time or datetime value.",
697
+ origin: "authored",
698
+ },
699
+ mod: {
700
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_mod",
701
+ description: "Returns the remainder when the first number is divided by the second.",
702
+ origin: "authored",
703
+ },
704
+ month: {
705
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_month",
706
+ description: "Returns the month component from a date value.",
707
+ origin: "authored",
708
+ },
709
+ monthname: {
710
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_monthname",
711
+ description: "Returns the full name of the month from a date value.",
712
+ origin: "authored",
713
+ },
714
+ name_const: {
715
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_name-const",
716
+ description: "Returns a value; used to associate a display name with an expression in result sets.",
717
+ origin: "authored",
718
+ },
719
+ now: {
720
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_now",
721
+ description: "Returns the current date and time.",
722
+ origin: "authored",
723
+ },
724
+ nth_value: {
725
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_nth-value",
726
+ description: "Returns the nth value within a partition in a window function context.",
727
+ origin: "authored",
728
+ },
729
+ ntile: {
730
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_ntile",
731
+ description: "Divides rows into N approximately equal-sized groups in a window partition.",
732
+ origin: "authored",
733
+ },
734
+ nullif: {
735
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#function_nullif",
736
+ description: "Returns NULL if two expressions are equal, otherwise returns the first expression.",
737
+ origin: "authored",
738
+ },
739
+ oct: {
740
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_oct",
741
+ description: "Returns the octal string representation of a number.",
742
+ origin: "authored",
743
+ },
744
+ octet_length: {
745
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_octet-length",
746
+ description: "Returns the length of a string in bytes.",
747
+ origin: "authored",
748
+ },
749
+ ord: {
750
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_ord",
751
+ origin: "vendor-docs",
752
+ },
753
+ percent_rank: {
754
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_percent-rank",
755
+ description: "Returns the relative rank of a row as a percentage within a partition.",
756
+ origin: "authored",
757
+ },
758
+ period_add: {
759
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_period-add",
760
+ description: "Adds a number of months to a period value and returns the result.",
761
+ origin: "authored",
762
+ },
763
+ period_diff: {
764
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_period-diff",
765
+ description: "Returns the number of months between two period values.",
766
+ origin: "authored",
767
+ },
768
+ pi: {
769
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_pi",
770
+ description: "Returns the value of pi, approximately 3.141593.",
771
+ origin: "authored",
772
+ },
773
+ pow: {
774
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_pow",
775
+ description: "Returns a number raised to a specified power.",
776
+ origin: "authored",
777
+ },
778
+ power: {
779
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_power",
780
+ description: "Returns a number raised to a specified power.",
781
+ origin: "authored",
782
+ },
783
+ quarter: {
784
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_quarter",
785
+ description: "Returns the quarter (1-4) of a date value.",
786
+ origin: "authored",
787
+ },
788
+ quote: {
789
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_quote",
790
+ origin: "vendor-docs",
791
+ },
792
+ radians: {
793
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_radians",
794
+ description: "Converts an angle measurement from degrees to radians.",
795
+ origin: "authored",
796
+ },
797
+ rand: {
798
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_rand",
799
+ description: "Returns a random floating-point value between 0 (inclusive) and 1 (exclusive).",
800
+ origin: "authored",
801
+ },
802
+ random_bytes: {
803
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_random-bytes",
804
+ description: "Generates a cryptographically secure random byte string of specified length.",
805
+ origin: "authored",
806
+ },
807
+ rank: {
808
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_rank",
809
+ description: "Returns the rank of a row within a partition, with gaps for ties.",
810
+ origin: "authored",
811
+ },
812
+ regexp_instr: {
813
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/regexp.html#function_regexp-instr",
814
+ description: "Returns the starting position of a substring matching a regular expression pattern.",
815
+ origin: "authored",
816
+ },
817
+ regexp_like: {
818
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/regexp.html#function_regexp-like",
819
+ description: "Tests whether a string matches a regular expression pattern, returning 1 or 0.",
820
+ origin: "authored",
821
+ },
822
+ regexp_replace: {
823
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/regexp.html#function_regexp-replace",
824
+ description: "Replaces substrings matching a regular expression pattern with a replacement string.",
825
+ origin: "authored",
826
+ },
827
+ regexp_substr: {
828
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/regexp.html#function_regexp-substr",
829
+ description: "Extracts the substring matching a regular expression pattern from a string.",
830
+ origin: "authored",
831
+ },
832
+ release_all_locks: {
833
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_release-all-locks",
834
+ description: "Releases all named locks held by the current session acquired via GET_LOCK().",
835
+ origin: "authored",
836
+ },
837
+ release_lock: {
838
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/locking-functions.html#function_release-lock",
839
+ description: "Releases a named lock previously acquired with GET_LOCK(), returning 1 on success.",
840
+ origin: "authored",
841
+ },
842
+ repeat: {
843
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_repeat",
844
+ description: "Returns a string repeated the specified number of times.",
845
+ origin: "authored",
846
+ },
847
+ replace: {
848
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_replace",
849
+ description: "Replaces all occurrences of a substring with a replacement string.",
850
+ origin: "authored",
851
+ },
852
+ reverse: {
853
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_reverse",
854
+ description: "Returns a string with characters in reverse order.",
855
+ origin: "authored",
856
+ },
857
+ right: {
858
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_right",
859
+ description: "Returns the rightmost specified number of characters from a string.",
860
+ origin: "authored",
861
+ },
862
+ roles_graphml: {
863
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_roles-graphml",
864
+ origin: "vendor-docs",
865
+ },
866
+ round: {
867
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_round",
868
+ description: "Rounds a number to the nearest integer or to a specified number of decimal places.",
869
+ origin: "authored",
870
+ },
871
+ row_count: {
872
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_row-count",
873
+ origin: "vendor-docs",
874
+ },
875
+ row_number: {
876
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/window-function-descriptions.html#function_row-number",
877
+ description: "Returns the sequential row number within a partition in a result set.",
878
+ origin: "authored",
879
+ },
880
+ rpad: {
881
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_rpad",
882
+ description: "Right-pads a string to the specified length with a padding string.",
883
+ origin: "authored",
884
+ },
885
+ rtrim: {
886
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_rtrim",
887
+ description: "Removes trailing spaces from a string.",
888
+ origin: "authored",
889
+ },
890
+ schema: {
891
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_schema",
892
+ description: "Returns the name of the current database selected for the session.",
893
+ origin: "authored",
894
+ },
895
+ sec_to_time: {
896
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_sec-to-time",
897
+ description: "Converts a number of seconds to TIME format (HHH:MM:SS).",
898
+ origin: "authored",
899
+ },
900
+ second: {
901
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_second",
902
+ description: "Extracts the second component (0-59) from a time or datetime expression.",
903
+ origin: "authored",
904
+ },
905
+ session_user: {
906
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_session-user",
907
+ description: "Returns the user name and host of the current session (equivalent to USER()).",
908
+ origin: "authored",
909
+ },
910
+ sha: {
911
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html",
912
+ description: "Computes the SHA-1 cryptographic hash of a string, returning a hexadecimal string.",
913
+ origin: "authored",
914
+ },
915
+ sha1: {
916
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_sha1",
917
+ description: "Computes the SHA-1 cryptographic hash of a string, returning a 40-character hexadecimal value.",
918
+ origin: "authored",
919
+ },
920
+ sha2: {
921
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_sha2",
922
+ description: "Computes the SHA-2 cryptographic hash (SHA-224, SHA-256, SHA-384, or SHA-512) specified by hash_length.",
923
+ origin: "authored",
924
+ },
925
+ sign: {
926
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_sign",
927
+ description: "Returns -1 for negative numbers, 0 for zero, and 1 for positive numbers.",
928
+ origin: "authored",
929
+ },
930
+ sin: {
931
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_sin",
932
+ description: "Returns the sine of a value in radians.",
933
+ origin: "authored",
934
+ },
935
+ sleep: {
936
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_sleep",
937
+ description: "Pauses execution for the specified number of seconds, returning 0 on success.",
938
+ origin: "authored",
939
+ },
940
+ soundex: {
941
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_soundex",
942
+ origin: "vendor-docs",
943
+ },
944
+ space: {
945
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_space",
946
+ description: "Returns a string consisting of the specified number of space characters.",
947
+ origin: "authored",
948
+ },
949
+ sqrt: {
950
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_sqrt",
951
+ description: "Returns the square root of a non-negative number.",
952
+ origin: "authored",
953
+ },
954
+ statement_digest: {
955
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_statement-digest",
956
+ origin: "vendor-docs",
957
+ },
958
+ statement_digest_text: {
959
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_statement-digest-text",
960
+ origin: "vendor-docs",
961
+ },
962
+ std: {
963
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_std",
964
+ origin: "vendor-docs",
965
+ },
966
+ stddev: {
967
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_stddev",
968
+ origin: "vendor-docs",
969
+ },
970
+ stddev_pop: {
971
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_stddev-pop",
972
+ description: "Returns the population standard deviation calculated over all values in a set.",
973
+ origin: "authored",
974
+ },
975
+ stddev_samp: {
976
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_stddev-samp",
977
+ description: "Returns the sample standard deviation calculated over values in a set.",
978
+ origin: "authored",
979
+ },
980
+ str_to_date: {
981
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_str-to-date",
982
+ origin: "vendor-docs",
983
+ },
984
+ strcmp: {
985
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-comparison-functions.html#function_strcmp",
986
+ description: "Compares two strings lexicographically, returning 0 if equal, negative if first is less, positive if greater.",
987
+ origin: "authored",
988
+ },
989
+ subdate: {
990
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_subdate",
991
+ description: "Returns a date with an interval subtracted from it.",
992
+ origin: "authored",
993
+ },
994
+ substr: {
995
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_substr",
996
+ description: "Returns the substring of str starting at pos, optionally limited to len characters.",
997
+ origin: "authored",
998
+ },
999
+ substring: {
1000
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_substring",
1001
+ description: "Returns the substring of str starting at pos, optionally limited to len characters.",
1002
+ origin: "authored",
1003
+ },
1004
+ substring_index: {
1005
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_substring-index",
1006
+ description: "Returns the substring before the nth occurrence of delimiter, or after if count is negative.",
1007
+ origin: "authored",
1008
+ },
1009
+ subtime: {
1010
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_subtime",
1011
+ description: "Subtracts a time interval from expr1 and returns the result as a time or datetime.",
1012
+ origin: "authored",
1013
+ },
1014
+ sum: {
1015
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_sum",
1016
+ origin: "vendor-docs",
1017
+ },
1018
+ sysdate: {
1019
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_sysdate",
1020
+ description: "Returns the current date and time at the moment of statement execution.",
1021
+ origin: "authored",
1022
+ },
1023
+ system_user: {
1024
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_system-user",
1025
+ origin: "vendor-docs",
1026
+ },
1027
+ tan: {
1028
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_tan",
1029
+ description: "Returns the tangent of the angle argument in radians.",
1030
+ origin: "authored",
1031
+ },
1032
+ time: {
1033
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_time",
1034
+ description: "Extracts the time portion of a datetime expression or converts an expression to a TIME value.",
1035
+ origin: "authored",
1036
+ },
1037
+ time_format: {
1038
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_time-format",
1039
+ description: "Formats a time value according to the specified format string.",
1040
+ origin: "authored",
1041
+ },
1042
+ time_to_sec: {
1043
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_time-to-sec",
1044
+ description: "Returns the number of seconds from midnight for the given time value.",
1045
+ origin: "authored",
1046
+ },
1047
+ timediff: {
1048
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timediff",
1049
+ description: "Returns the time difference between two time or datetime expressions.",
1050
+ origin: "authored",
1051
+ },
1052
+ timestamp: {
1053
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestamp",
1054
+ origin: "vendor-docs",
1055
+ },
1056
+ timestampadd: {
1057
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestampadd",
1058
+ description: "Adds a time interval to a datetime value.",
1059
+ origin: "authored",
1060
+ },
1061
+ timestampdiff: {
1062
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestampdiff",
1063
+ description: "Returns the integer difference between two datetime values in the specified unit.",
1064
+ origin: "authored",
1065
+ },
1066
+ to_base64: {
1067
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_to-base64",
1068
+ description: "Encodes a string in base64 format.",
1069
+ origin: "authored",
1070
+ },
1071
+ to_days: {
1072
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_to-days",
1073
+ description: "Converts a date to the number of days since year 0000.",
1074
+ origin: "authored",
1075
+ },
1076
+ to_seconds: {
1077
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_to-seconds",
1078
+ description: "Converts a datetime to the number of seconds since year 0000.",
1079
+ origin: "authored",
1080
+ },
1081
+ truncate: {
1082
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/mathematical-functions.html#function_truncate",
1083
+ description: "Truncates a number to D decimal places.",
1084
+ origin: "authored",
1085
+ },
1086
+ ucase: {
1087
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_ucase",
1088
+ description: "Converts a string to uppercase.",
1089
+ origin: "authored",
1090
+ },
1091
+ uncompress: {
1092
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_uncompress",
1093
+ description: "Decompresses a ZLIB-compressed string.",
1094
+ origin: "authored",
1095
+ },
1096
+ uncompressed_length: {
1097
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_uncompressed-length",
1098
+ description: "Returns the length of a string before COMPRESS was applied to it.",
1099
+ origin: "authored",
1100
+ },
1101
+ unhex: {
1102
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_unhex",
1103
+ description: "Converts a hexadecimal string to its binary representation.",
1104
+ origin: "authored",
1105
+ },
1106
+ unix_timestamp: {
1107
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_unix-timestamp",
1108
+ description: "Returns the number of seconds since the Unix epoch (1970-01-01 00:00:00 UTC).",
1109
+ origin: "authored",
1110
+ },
1111
+ upper: {
1112
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/string-functions.html#function_upper",
1113
+ description: "Converts a string to uppercase.",
1114
+ origin: "authored",
1115
+ },
1116
+ user: {
1117
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_user",
1118
+ description: "Returns the current user name and host connected to the database.",
1119
+ origin: "authored",
1120
+ },
1121
+ utc_date: {
1122
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_utc-date",
1123
+ description: "Returns the current date in UTC timezone.",
1124
+ origin: "authored",
1125
+ },
1126
+ utc_time: {
1127
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_utc-time",
1128
+ description: "Returns the current time in UTC timezone.",
1129
+ origin: "authored",
1130
+ },
1131
+ utc_timestamp: {
1132
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_utc-timestamp",
1133
+ description: "Returns the current date and time in UTC timezone.",
1134
+ origin: "authored",
1135
+ },
1136
+ uuid: {
1137
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_uuid",
1138
+ description: "Generates a universally unique identifier.",
1139
+ origin: "authored",
1140
+ },
1141
+ uuid_short: {
1142
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_uuid-short",
1143
+ description: "Generates a short UUID as a 64-bit unsigned integer.",
1144
+ origin: "authored",
1145
+ },
1146
+ uuid_to_bin: {
1147
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_uuid-to-bin",
1148
+ description: "Converts a UUID string to a binary representation.",
1149
+ origin: "authored",
1150
+ },
1151
+ validate_password_strength: {
1152
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/encryption-functions.html#function_validate-password-strength",
1153
+ description: "Estimates the strength of a password (requires Validate Password plugin).",
1154
+ origin: "authored",
1155
+ },
1156
+ values: {
1157
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/miscellaneous-functions.html#function_values",
1158
+ description: "In INSERT...ON DUPLICATE KEY UPDATE, returns the value provided in the INSERT clause.",
1159
+ origin: "authored",
1160
+ },
1161
+ var_pop: {
1162
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_var-pop",
1163
+ description: "Calculates the population variance of an expression.",
1164
+ origin: "authored",
1165
+ },
1166
+ var_samp: {
1167
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_var-samp",
1168
+ description: "Calculates the sample variance of an expression.",
1169
+ origin: "authored",
1170
+ },
1171
+ variance: {
1172
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/aggregate-functions.html#function_variance",
1173
+ origin: "vendor-docs",
1174
+ },
1175
+ version: {
1176
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/information-functions.html#function_version",
1177
+ description: "Returns the MySQL server version string.",
1178
+ origin: "authored",
1179
+ },
1180
+ week: {
1181
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_week",
1182
+ origin: "vendor-docs",
1183
+ },
1184
+ weekday: {
1185
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_weekday",
1186
+ description: "Returns the day-of-week index (0=Monday through 6=Sunday) for a date.",
1187
+ origin: "authored",
1188
+ },
1189
+ weekofyear: {
1190
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_weekofyear",
1191
+ description: "Returns the week number (1-53) of a date using ISO 8601 conventions.",
1192
+ origin: "authored",
1193
+ },
1194
+ year: {
1195
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_year",
1196
+ description: "Returns the year portion of a date as a four-digit integer.",
1197
+ origin: "authored",
1198
+ },
1199
+ yearweek: {
1200
+ docUrl: "https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_yearweek",
1201
+ description: "Returns the year and week number combined as a six-digit integer (e.g., 202401 for week 1 of 2024), with optional mode parameter.",
1202
+ origin: "authored",
1203
+ },
1204
+ };