Skip to content

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);

Parameters

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.

Returns

  • true when the bool was written.
  • false when the value does not exist or is not a number, a bool or a string.

Remarks

A number reads as true when it is not 0, and a string as MySQL_GetValueBool reads a cell.

Related

Clone this wiki locally