Repository navigation
MySQL_GetJSONBool
imshooter edited this page Oct 24, 2026
·
1 revision
A value of a JSON cell as a bool.
native bool:MySQL_GetJSONBool(row, const field[], const key[], bool:fallback = false);| Parameter | Description | Default |
|---|---|---|
row |
The row, from 0. |
|
const field[] |
Name of the field. | |
const key[] |
Member of the top object or a JSON Pointer. | |
bool:fallback |
What it gives when the value does not exist, is null, or is an object or an array. | false |
A number reads as true when it is not 0, and a string as MySQL_GetBool reads a cell.
- MySQL_GetJSONInt: A value of a JSON cell as an integer.
- MySQL_GetJSONFloat: A value of a JSON cell as a float.
MySQL 0.2.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- Results
- JSON cells
- Prepared statements
- Passwords
- Errors
- TLS
- Coming from R41
- Performance
Reference
Functions