MYSQL_RES_T

Last published : Oct 30, 2026
Operates on MYSQL Response.
This topic lists the expressions that are provided by this class.
ATLEAST_ROWS_COUNT (uint i)
Checks if response has at least this many rows.
Parameters (expressions not allowed):
            i- number of rows
Returns: bool_at
  • ERROR
    returns error object representing error number, error msg, etc.
  • FIELDS_COUNT
    Returns the number of columns in the response.
Returns: unsigned_long_at
FIELD (uint i)
This object provides for the ability to work on individual Field pkts of the Response.
Parameters (expressions not allowed):
            i- pkt number
  • OK
    This object provides for the ability to work on OK pkt of response.
Returns: mysql_res_ok_t
ROW (uint i)
This object provides for the ability to work on individual Row pkts of the Response.
Parameters (expressions not allowed):
            i- row number
Returns: mysql_res_row_t
  • TYPE
    Enum for the response type. Its values can be ERROR, OK, and RESULT_SET.
Returns: mysql_res_type_e