String and number helpers
Internal routines used by string searches, validation and rounding.
Internal routines used by string searches, validation and rounding.
C
| Signature | Purpose | Source definition |
|---|---|---|
mysql.ceil_for_mysql(text) → bigint | Round a number parsed from text up to an integer. | SQL · C |
mysql.check_set(text, text) → boolean | Check a value against a SET definition. | SQL · C |
F
| Signature | Purpose | Source definition |
|---|---|---|
mysql.floor_for_mysql(text) → bigint | Round a number parsed from text down to an integer. | SQL · C |
I
| Signature | Purpose | Source definition |
|---|---|---|
mysql.is_numeric(text) → boolean | Validate the numeric representation. | SQL |
mysql.is_valid_binary(text) → boolean | Validate the numeric representation. | SQL · C |
mysql.is_valid_hex(text) → boolean | Validate the numeric representation. | SQL · C |
T
| Signature | Purpose | Source definition |
|---|---|---|
mysql.text_instr(text, text) → integer | Find a substring for LOCATE or INSTR. | SQL · C |
mysql.text_locate2(text, text) → integer | Find a substring for LOCATE or INSTR. | SQL · C |
mysql.text_locate3(text, text, bigint) → integer | Find a substring for LOCATE or INSTR. | SQL · C |