String and binary functions
Use the return type to distinguish text and byte-string overloads.
Use the return type to distinguish text and byte-string overloads.
ascii
| Signature | Purpose | Source definition |
|---|---|---|
mysql.ascii(bytea) → integer | Read the numeric value of the first byte. | Generated definition · C |
mysql.ascii(mysql.binary_n) → integer | Read the numeric value of the first byte. | Generated definition · C |
mysql.ascii(mysql.hexlit) → integer | Read the numeric value of the first byte. | Generated definition · C |
mysql.ascii(mysql.varbinary_n) → integer | Read the numeric value of the first byte. | Generated definition · C |
bin
| Signature | Purpose | Source definition |
|---|---|---|
mysql.bin(bigint) → text | Represent an integer in base two. | SQL |
btrim
| Signature | Purpose | Source definition |
|---|---|---|
mysql.btrim(bytea) → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(bytea, "any") → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.binary_n) → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.binary_n, "any") → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.hexlit) → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.hexlit, "any") → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.varbinary_n) → bytea | Trim both ends of the byte string. | Generated definition · C |
mysql.btrim(mysql.varbinary_n, "any") → bytea | Trim both ends of the byte string. | Generated definition · C |
char_length
| Signature | Purpose | Source definition |
|---|---|---|
mysql.char_length(bytea) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.char_length(mysql.binary_n) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.char_length(mysql.hexlit) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.char_length(mysql.varbinary_n) → integer | Count characters in text or bytes in a binary string. | Generated definition |
character_length
| Signature | Purpose | Source definition |
|---|---|---|
mysql.character_length(bytea) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.character_length(mysql.binary_n) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.character_length(mysql.hexlit) → integer | Count characters in text or bytes in a binary string. | Generated definition |
mysql.character_length(mysql.varbinary_n) → integer | Count characters in text or bytes in a binary string. | Generated definition |
concat
| Signature | Purpose | Source definition |
|---|---|---|
mysql.concat(VARIADIC "any") → text | Concatenate the arguments in order. | SQL · C |
concat_ws
| Signature | Purpose | Source definition |
|---|---|---|
mysql.concat_ws(text, VARIADIC "any") → text | Join values with the supplied separator. | SQL · C |
elt
| Signature | Purpose | Source definition |
|---|---|---|
mysql.elt(VARIADIC "any") → text | Pick the string at the given one-based position. | SQL · C |
export_set
| Signature | Purpose | Source definition |
|---|---|---|
mysql.export_set(bigint, text, text, text, bigint) → text | Render set and unset bits using the supplied strings. | SQL |
field
find_in_set
| Signature | Purpose | Source definition |
|---|---|---|
mysql.find_in_set(bigint, text) → integer | Find a value in a comma-separated list. | SQL |
mysql.find_in_set(text, text) → integer | Find a value in a comma-separated list. | SQL |
format
| Signature | Purpose | Source definition |
|---|---|---|
mysql.format(numeric, bigint) → text | Format a number with the requested decimal places. | SQL |
hex
| Signature | Purpose | Source definition |
|---|---|---|
mysql.hex(bigint) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(bit varying) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(boolean) → text | Encode the value in hexadecimal. | SQL |
mysql.hex(bytea) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(character) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(double precision) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(integer) → text | Encode the value in hexadecimal. | SQL |
mysql.hex(mysql.binary_n) → text | Encode the value in hexadecimal. | Generated definition · C |
mysql.hex(mysql.hexlit) → text | Encode the value in hexadecimal. | Generated definition · C |
mysql.hex(mysql.varbinary_n) → text | Encode the value in hexadecimal. | Generated definition · C |
mysql.hex(numeric) → text | Encode the value in hexadecimal. | SQL · C |
mysql.hex(smallint) → text | Encode the value in hexadecimal. | SQL |
mysql.hex(text) → text | Encode the value in hexadecimal. | SQL · C |
insert
| Signature | Purpose | Source definition |
|---|---|---|
mysql.insert(text, integer, integer, text) → text | Replace part of a string at a specified position. | SQL |
instr
json_unquote
| Signature | Purpose | Source definition |
|---|---|---|
mysql.json_unquote(json) → text | Remove JSON string quoting. | SQL |
lcase
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lcase(bigint) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(bytea) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lcase(date) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(integer) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(mysql."smallint") → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(mysql.binary_n) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lcase(mysql.hexlit) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lcase(mysql.varbinary_n) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lcase(numeric) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(text) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(time without time zone) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(timestamp with time zone) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
mysql.lcase(timestamp without time zone) → text | Convert text to lowercase. Binary strings retain their bytes. | SQL |
left
length
| Signature | Purpose | Source definition |
|---|---|---|
mysql.length(bytea) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.length(mysql.binary_n) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.length(mysql.hexlit) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.length(mysql.varbinary_n) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.length(num bigint) → integer | Count the bytes in the value’s string representation. | SQL |
mysql.length(num character) → integer | Count the bytes in the value’s string representation. | SQL |
mysql.length(num integer) → integer | Count the bytes in the value’s string representation. | SQL |
mysql.length(num mysql."smallint") → integer | Count the bytes in the value’s string representation. | SQL |
mysql.length(num numeric) → integer | Count the bytes in the value’s string representation. | SQL |
mysql.length(text) → integer | Count the bytes in the value’s string representation. | SQL |
load_file
| Signature | Purpose | Source definition |
|---|---|---|
mysql.load_file(text) → text | Read a server-side file. EXECUTE is restricted. | SQL |
locate
| Signature | Purpose | Source definition |
|---|---|---|
mysql.locate(bytea, bytea) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, bytea, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.binary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.binary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.hexlit) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.hexlit, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.varbinary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, mysql.varbinary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, text) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(bytea, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, bytea) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, bytea, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.binary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.binary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.hexlit) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.hexlit, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.varbinary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, mysql.varbinary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, text) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.binary_n, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, bytea) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, bytea, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.binary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.binary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.hexlit) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.hexlit, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.varbinary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, mysql.varbinary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, text) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.hexlit, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, bytea) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, bytea, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.binary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.binary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.hexlit) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.hexlit, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.varbinary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, mysql.varbinary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, text) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(mysql.varbinary_n, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(numeric, numeric) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, numeric, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, text) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, time without time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, time without time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, timestamp with time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, timestamp with time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, timestamp without time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(numeric, timestamp without time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, bytea) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, bytea, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.binary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.binary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.hexlit) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.hexlit, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.varbinary_n) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, mysql.varbinary_n, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | Generated definition · C |
mysql.locate(text, numeric) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, numeric, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, text) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, text, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, time without time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, time without time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, timestamp with time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, timestamp with time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, timestamp without time zone) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
mysql.locate(text, timestamp without time zone, integer) → integer | Find the first occurrence of a substring, optionally from a given position. | SQL |
lower
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lower(bytea) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lower(mysql.binary_n) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lower(mysql.hexlit) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
mysql.lower(mysql.varbinary_n) → bytea | Convert text to lowercase. Binary strings retain their bytes. | Generated definition · C |
lpad
| Signature | Purpose | Source definition |
|---|---|---|
mysql.lpad(bigint, integer, text) → text | Pad on the left to the requested length. | SQL |
mysql.lpad(text, integer, text) → text | Pad on the left to the requested length. | SQL |
ltrim
| Signature | Purpose | Source definition |
|---|---|---|
mysql.ltrim(bytea) → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(bytea, "any") → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.binary_n) → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.binary_n, "any") → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.hexlit) → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.hexlit, "any") → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.varbinary_n) → bytea | Trim the beginning of a byte string. | Generated definition · C |
mysql.ltrim(mysql.varbinary_n, "any") → bytea | Trim the beginning of a byte string. | Generated definition · C |
make_set
| Signature | Purpose | Source definition |
|---|---|---|
mysql.make_set(bigint, VARIADIC text[]) → text | Select strings using the set bits of a mask. | SQL |
mid
| Signature | Purpose | Source definition |
|---|---|---|
mysql.mid(bigint, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(bigint, integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(date, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(date, integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(integer, integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(mysql."smallint", integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(mysql."smallint", integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(str text, pos integer, len integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(text, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(time without time zone, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(time without time zone, integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(timestamp with time zone, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(timestamp with time zone, integer, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(timestamp without time zone, integer) → text | Extract a slice starting at the given position. | SQL |
mysql.mid(timestamp without time zone, integer, integer) → text | Extract a slice starting at the given position. | SQL |
octet_length
| Signature | Purpose | Source definition |
|---|---|---|
mysql.octet_length(bytea) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.octet_length(mysql.binary_n) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.octet_length(mysql.hexlit) → integer | Count the bytes in the value’s string representation. | Generated definition |
mysql.octet_length(mysql.varbinary_n) → integer | Count the bytes in the value’s string representation. | Generated definition |
replace
| Signature | Purpose | Source definition |
|---|---|---|
mysql.replace(bytea, "any", "any") → bytea | Replace occurrences of a search string. | Generated definition · C |
mysql.replace(mysql.binary_n, "any", "any") → bytea | Replace occurrences of a search string. | Generated definition · C |
mysql.replace(mysql.hexlit, "any", "any") → bytea | Replace occurrences of a search string. | Generated definition · C |
mysql.replace(mysql.varbinary_n, "any", "any") → bytea | Replace occurrences of a search string. | Generated definition · C |
mysql.replace(text, text, text) → text | Replace occurrences of a search string. | SQL · C |
right
rpad
| Signature | Purpose | Source definition |
|---|---|---|
mysql.rpad(bigint, integer, text) → text | Pad on the right to the requested length. | SQL |
mysql.rpad(text, integer, text) → text | Pad on the right to the requested length. | SQL |
rtrim
| Signature | Purpose | Source definition |
|---|---|---|
mysql.rtrim(bytea) → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(bytea, "any") → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.binary_n) → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.binary_n, "any") → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.hexlit) → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.hexlit, "any") → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.varbinary_n) → bytea | Trim the end of a byte string. | Generated definition · C |
mysql.rtrim(mysql.varbinary_n, "any") → bytea | Trim the end of a byte string. | Generated definition · C |
space
| Signature | Purpose | Source definition |
|---|---|---|
mysql.space(integer) → text | Produce a string of spaces. | SQL |
strcmp
| Signature | Purpose | Source definition |
|---|---|---|
mysql.strcmp(text, text) → integer | Compare two strings and return their ordering. | SQL |
substr
substring
substring_index
| Signature | Purpose | Source definition |
|---|---|---|
mysql.substring_index(text, text, integer) → text | Split at a delimiter and take the requested part. | SQL · C |
ucase
| Signature | Purpose | Source definition |
|---|---|---|
mysql.ucase(bigint) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(bytea) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.ucase(date) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(integer) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(mysql."smallint") → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(mysql.binary_n) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.ucase(mysql.hexlit) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.ucase(mysql.varbinary_n) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.ucase(numeric) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(text) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(time without time zone) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(timestamp with time zone) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
mysql.ucase(timestamp without time zone) → text | Convert text to uppercase. Binary strings retain their bytes. | SQL |
unhex
| Signature | Purpose | Source definition |
|---|---|---|
mysql.unhex(bigint) → bytea | Decode hexadecimal digits into bytes. | SQL |
mysql.unhex(bytea) → bytea | Decode hexadecimal digits into bytes. | SQL · C |
mysql.unhex(text) → bytea | Decode hexadecimal digits into bytes. | SQL · C |
upper
| Signature | Purpose | Source definition |
|---|---|---|
mysql.upper(bytea) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.upper(mysql.binary_n) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.upper(mysql.hexlit) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |
mysql.upper(mysql.varbinary_n) → bytea | Convert text to uppercase. Binary strings retain their bytes. | Generated definition · C |