跳转到主要内容

字符串与二进制函数

从返回类型区分文本与字节串重载。

从返回类型区分文本与字节串重载。

ascii

对象签名用途源码定义
mysql.ascii(bytea) → integer取首字节的数值。生成定义 · C
mysql.ascii(mysql.binary_n) → integer取首字节的数值。生成定义 · C
mysql.ascii(mysql.hexlit) → integer取首字节的数值。生成定义 · C
mysql.ascii(mysql.varbinary_n) → integer取首字节的数值。生成定义 · C

bin

对象签名用途源码定义
mysql.bin(bigint) → text将整数表示为二进制数字串。SQL

btrim

char_length

对象签名用途源码定义
mysql.char_length(bytea) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.char_length(mysql.binary_n) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.char_length(mysql.hexlit) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.char_length(mysql.varbinary_n) → integer计算文本的字符数或二进制串的字节数。生成定义

character_length

对象签名用途源码定义
mysql.character_length(bytea) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.character_length(mysql.binary_n) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.character_length(mysql.hexlit) → integer计算文本的字符数或二进制串的字节数。生成定义
mysql.character_length(mysql.varbinary_n) → integer计算文本的字符数或二进制串的字节数。生成定义

concat

对象签名用途源码定义
mysql.concat(VARIADIC "any") → text按参数顺序拼接字符串。SQL · C

concat_ws

对象签名用途源码定义
mysql.concat_ws(text, VARIADIC "any") → text用指定分隔符连接各项。SQL · C

elt

对象签名用途源码定义
mysql.elt(VARIADIC "any") → text返回指定位置的字符串,位置从 1 开始。SQL · C

export_set

对象签名用途源码定义
mysql.export_set(bigint, text, text, text, bigint) → text按位将置位和未置位的值转换成指定字符串。SQL

field

find_in_set

对象签名用途源码定义
mysql.find_in_set(bigint, text) → integer返回值在逗号分隔列表中的位置。SQL
mysql.find_in_set(text, text) → integer返回值在逗号分隔列表中的位置。SQL

format

对象签名用途源码定义
mysql.format(numeric, bigint) → text按指定小数位数格式化数值。SQL

hex

对象签名用途源码定义
mysql.hex(bigint) → text将值编码为十六进制。SQL · C
mysql.hex(bit varying) → text将值编码为十六进制。SQL · C
mysql.hex(boolean) → text将值编码为十六进制。SQL
mysql.hex(bytea) → text将值编码为十六进制。SQL · C
mysql.hex(character) → text将值编码为十六进制。SQL · C
mysql.hex(double precision) → text将值编码为十六进制。SQL · C
mysql.hex(integer) → text将值编码为十六进制。SQL
mysql.hex(mysql.binary_n) → text将值编码为十六进制。生成定义 · C
mysql.hex(mysql.hexlit) → text将值编码为十六进制。生成定义 · C
mysql.hex(mysql.varbinary_n) → text将值编码为十六进制。生成定义 · C
mysql.hex(numeric) → text将值编码为十六进制。SQL · C
mysql.hex(smallint) → text将值编码为十六进制。SQL
mysql.hex(text) → text将值编码为十六进制。SQL · C

insert

对象签名用途源码定义
mysql.insert(text, integer, integer, text) → text从指定位置替换一段字符串。SQL

instr

对象签名用途源码定义
mysql.instr(bytea, bytea) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(bytea, mysql.binary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(bytea, mysql.hexlit) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(bytea, mysql.varbinary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(bytea, text) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.binary_n, bytea) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.binary_n, mysql.binary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.binary_n, mysql.hexlit) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.binary_n, mysql.varbinary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.binary_n, text) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.hexlit, bytea) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.hexlit, mysql.binary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.hexlit, mysql.hexlit) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.hexlit, mysql.varbinary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.hexlit, text) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.varbinary_n, bytea) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.varbinary_n, mysql.binary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.varbinary_n, mysql.hexlit) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.varbinary_n, mysql.varbinary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(mysql.varbinary_n, text) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(numeric, numeric) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(numeric, text) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(text, bytea) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(text, mysql.binary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(text, mysql.hexlit) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(text, mysql.varbinary_n) → integer在第一个参数中查找子串的位置。生成定义 · C
mysql.instr(text, numeric) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(text, text) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(time without time zone, numeric) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(time without time zone, text) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(timestamp with time zone, numeric) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(timestamp with time zone, text) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(timestamp without time zone, numeric) → integer在第一个参数中查找子串的位置。SQL
mysql.instr(timestamp without time zone, text) → integer在第一个参数中查找子串的位置。SQL

json_unquote

对象签名用途源码定义
mysql.json_unquote(json) → text去除 JSON 字符串的引号并解码。SQL

lcase

对象签名用途源码定义
mysql.lcase(bigint) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(bytea) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lcase(date) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(integer) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(mysql."smallint") → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(mysql.binary_n) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lcase(mysql.hexlit) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lcase(mysql.varbinary_n) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lcase(numeric) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(text) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(time without time zone) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(timestamp with time zone) → text将文本转为小写;二进制串保留原字节。SQL
mysql.lcase(timestamp without time zone) → text将文本转为小写;二进制串保留原字节。SQL

left

length

对象签名用途源码定义
mysql.length(bytea) → integer计算字符串表示的字节数。生成定义
mysql.length(mysql.binary_n) → integer计算字符串表示的字节数。生成定义
mysql.length(mysql.hexlit) → integer计算字符串表示的字节数。生成定义
mysql.length(mysql.varbinary_n) → integer计算字符串表示的字节数。生成定义
mysql.length(num bigint) → integer计算字符串表示的字节数。SQL
mysql.length(num character) → integer计算字符串表示的字节数。SQL
mysql.length(num integer) → integer计算字符串表示的字节数。SQL
mysql.length(num mysql."smallint") → integer计算字符串表示的字节数。SQL
mysql.length(num numeric) → integer计算字符串表示的字节数。SQL
mysql.length(text) → integer计算字符串表示的字节数。SQL

load_file

对象签名用途源码定义
mysql.load_file(text) → text读取服务器上的文件,需要执行权限。SQL

locate

对象签名用途源码定义
mysql.locate(bytea, bytea) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, bytea, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.binary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.binary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.hexlit) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.hexlit, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.varbinary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, mysql.varbinary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, text) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(bytea, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, bytea) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, bytea, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.binary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.binary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.hexlit) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.hexlit, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.varbinary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, mysql.varbinary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, text) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.binary_n, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, bytea) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, bytea, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.binary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.binary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.hexlit) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.hexlit, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.varbinary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, mysql.varbinary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, text) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.hexlit, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, bytea) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, bytea, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.binary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.binary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.hexlit) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.hexlit, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.varbinary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, mysql.varbinary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, text) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(mysql.varbinary_n, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(numeric, numeric) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, numeric, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, text) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, time without time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, time without time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, timestamp with time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, timestamp with time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, timestamp without time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(numeric, timestamp without time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, bytea) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, bytea, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.binary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.binary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.hexlit) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.hexlit, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.varbinary_n) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, mysql.varbinary_n, integer) → integer查找子串首次出现的位置,可指定搜索起点。生成定义 · C
mysql.locate(text, numeric) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, numeric, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, text) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, text, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, time without time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, time without time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, timestamp with time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, timestamp with time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, timestamp without time zone) → integer查找子串首次出现的位置,可指定搜索起点。SQL
mysql.locate(text, timestamp without time zone, integer) → integer查找子串首次出现的位置,可指定搜索起点。SQL

lower

对象签名用途源码定义
mysql.lower(bytea) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lower(mysql.binary_n) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lower(mysql.hexlit) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C
mysql.lower(mysql.varbinary_n) → bytea将文本转为小写;二进制串保留原字节。生成定义 · C

lpad

对象签名用途源码定义
mysql.lpad(bigint, integer, text) → text从左侧填充到指定长度。SQL
mysql.lpad(text, integer, text) → text从左侧填充到指定长度。SQL

ltrim

对象签名用途源码定义
mysql.ltrim(bytea) → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(bytea, "any") → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.binary_n) → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.binary_n, "any") → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.hexlit) → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.hexlit, "any") → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.varbinary_n) → bytea裁剪字节串的开头。生成定义 · C
mysql.ltrim(mysql.varbinary_n, "any") → bytea裁剪字节串的开头。生成定义 · C

make_set

对象签名用途源码定义
mysql.make_set(bigint, VARIADIC text[]) → text按掩码中置位的位置选取字符串。SQL

mid

octet_length

对象签名用途源码定义
mysql.octet_length(bytea) → integer计算字符串表示的字节数。生成定义
mysql.octet_length(mysql.binary_n) → integer计算字符串表示的字节数。生成定义
mysql.octet_length(mysql.hexlit) → integer计算字符串表示的字节数。生成定义
mysql.octet_length(mysql.varbinary_n) → integer计算字符串表示的字节数。生成定义

replace

对象签名用途源码定义
mysql.replace(bytea, "any", "any") → bytea替换字符串中出现的匹配项。生成定义 · C
mysql.replace(mysql.binary_n, "any", "any") → bytea替换字符串中出现的匹配项。生成定义 · C
mysql.replace(mysql.hexlit, "any", "any") → bytea替换字符串中出现的匹配项。生成定义 · C
mysql.replace(mysql.varbinary_n, "any", "any") → bytea替换字符串中出现的匹配项。生成定义 · C
mysql.replace(text, text, text) → text替换字符串中出现的匹配项。SQL · C

rpad

对象签名用途源码定义
mysql.rpad(bigint, integer, text) → text从右侧填充到指定长度。SQL
mysql.rpad(text, integer, text) → text从右侧填充到指定长度。SQL

rtrim

对象签名用途源码定义
mysql.rtrim(bytea) → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(bytea, "any") → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.binary_n) → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.binary_n, "any") → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.hexlit) → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.hexlit, "any") → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.varbinary_n) → bytea裁剪字节串的末尾。生成定义 · C
mysql.rtrim(mysql.varbinary_n, "any") → bytea裁剪字节串的末尾。生成定义 · C

space

对象签名用途源码定义
mysql.space(integer) → text生成指定个数的空格。SQL

strcmp

对象签名用途源码定义
mysql.strcmp(text, text) → integer比较两个字符串并返回顺序关系。SQL

substr

对象签名用途源码定义
mysql.substr(bigint, integer) → text从指定位置截取子串。SQL
mysql.substr(bigint, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(bytea, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(bytea, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(date, integer) → text从指定位置截取子串。SQL
mysql.substr(date, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(integer, integer) → text从指定位置截取子串。SQL
mysql.substr(integer, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(mysql."smallint", integer) → text从指定位置截取子串。SQL
mysql.substr(mysql."smallint", integer, integer) → text从指定位置截取子串。SQL
mysql.substr(mysql.binary_n, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(mysql.binary_n, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(mysql.hexlit, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(mysql.hexlit, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(mysql.varbinary_n, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(mysql.varbinary_n, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql.substr(text, integer) → text从指定位置截取子串。SQL
mysql.substr(text, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(time without time zone, integer) → text从指定位置截取子串。SQL
mysql.substr(time without time zone, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(timestamp with time zone, integer) → text从指定位置截取子串。SQL
mysql.substr(timestamp with time zone, integer, integer) → text从指定位置截取子串。SQL
mysql.substr(timestamp without time zone, integer) → text从指定位置截取子串。SQL
mysql.substr(timestamp without time zone, integer, integer) → text从指定位置截取子串。SQL

substring

对象签名用途源码定义
mysql."substring"(bigint, integer) → text从指定位置截取子串。SQL
mysql."substring"(bigint, integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(bytea, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(bytea, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(date, integer) → text从指定位置截取子串。SQL
mysql."substring"(date, integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(integer, integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(mysql."smallint", integer) → text从指定位置截取子串。SQL
mysql."substring"(mysql."smallint", integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(mysql.binary_n, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(mysql.binary_n, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(mysql.hexlit, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(mysql.hexlit, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(mysql.varbinary_n, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(mysql.varbinary_n, integer, integer) → bytea从指定位置截取子串。生成定义 · C
mysql."substring"(text, integer) → text从指定位置截取子串。SQL · C
mysql."substring"(text, integer, integer) → text从指定位置截取子串。SQL · C
mysql."substring"(time without time zone, integer) → text从指定位置截取子串。SQL
mysql."substring"(time without time zone, integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(timestamp with time zone, integer) → text从指定位置截取子串。SQL
mysql."substring"(timestamp with time zone, integer, integer) → text从指定位置截取子串。SQL
mysql."substring"(timestamp without time zone, integer) → text从指定位置截取子串。SQL
mysql."substring"(timestamp without time zone, integer, integer) → text从指定位置截取子串。SQL

substring_index

对象签名用途源码定义
mysql.substring_index(text, text, integer) → text按分隔符出现的次数截取字符串。SQL · C

ucase

对象签名用途源码定义
mysql.ucase(bigint) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(bytea) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.ucase(date) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(integer) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(mysql."smallint") → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(mysql.binary_n) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.ucase(mysql.hexlit) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.ucase(mysql.varbinary_n) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.ucase(numeric) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(text) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(time without time zone) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(timestamp with time zone) → text将文本转为大写;二进制串保留原字节。SQL
mysql.ucase(timestamp without time zone) → text将文本转为大写;二进制串保留原字节。SQL

unhex

对象签名用途源码定义
mysql.unhex(bigint) → bytea将十六进制数字解码为字节。SQL
mysql.unhex(bytea) → bytea将十六进制数字解码为字节。SQL · C
mysql.unhex(text) → bytea将十六进制数字解码为字节。SQL · C

upper

对象签名用途源码定义
mysql.upper(bytea) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.upper(mysql.binary_n) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.upper(mysql.hexlit) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C
mysql.upper(mysql.varbinary_n) → bytea将文本转为大写;二进制串保留原字节。生成定义 · C