Repository navigation
MySQL_GetJSONValueBool
imshooter edited this page Nov 3, 2026
·
1 revision
A value of a JSON cell as a bool.
A value that does not exist, is null, or is an object or an array leaves value as it was.
native bool:MySQL_GetJSONValueBool(row, const field[], const key[], &bool:value);| Parameter | Description |
|---|---|
row |
The row, from 0. |
const field[] |
Name of the field. |
const key[] |
Member of the top object or a JSON Pointer. |
&bool:value |
Variable for the bool. |
-
truewhen the bool was written. -
falsewhen the value does not exist or is not a number, a bool or a string.
A number reads as true when it is not 0, and a string as MySQL_GetValueBool reads a cell.
- MySQL_GetJSONValueInt: A value of a JSON cell as an integer.
- MySQL_GetJSONValueFloat: A value of a JSON cell as a float.
MySQL 0.3.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- Results
- JSON cells
- Prepared statements
- Passwords
- Errors
- TLS
- Coming from R41
- Performance
Reference
Functions