Skip to content

MySQL_GetInt

imshooter edited this page Oct 24, 2026 · 1 revision

A cell of the result read as an integer, 0 when it is NULL.

native MySQL_GetInt(row, const field[]);

Parameters

Parameter Description
row The row, from 0.
const field[] Name of the field.

Remarks

Names are found without regard to case. A name the result does not have is logged once, the first time it is asked for, and reads as 0. A cell that is not a whole number, such as 2.5, is cut to 2.

Related

  • MySQL_GetFloat: A cell of the result read as a float, 0.0 when it is NULL.
  • MySQL_GetRow: Read the cells of a row into variables in one call, field after field.
  • MySQL_IsNull: Whether a cell of the result read is NULL.

Clone this wiki locally