Skip to content

String and number helpers

Internal routines used by string searches, validation and rounding.

Internal routines used by string searches, validation and rounding.

C

SignaturePurposeSource definition
mysql.ceil_for_mysql(text) → bigintRound a number parsed from text up to an integer.SQL · C
mysql.check_set(text, text) → booleanCheck a value against a SET definition.SQL · C

F

SignaturePurposeSource definition
mysql.floor_for_mysql(text) → bigintRound a number parsed from text down to an integer.SQL · C

I

SignaturePurposeSource definition
mysql.is_numeric(text) → booleanValidate the numeric representation.SQL
mysql.is_valid_binary(text) → booleanValidate the numeric representation.SQL · C
mysql.is_valid_hex(text) → booleanValidate the numeric representation.SQL · C

T

SignaturePurposeSource definition
mysql.text_instr(text, text) → integerFind a substring for LOCATE or INSTR.SQL · C
mysql.text_locate2(text, text) → integerFind a substring for LOCATE or INSTR.SQL · C
mysql.text_locate3(text, text, bigint) → integerFind a substring for LOCATE or INSTR.SQL · C