MYSQL_RES_OK_T¶
mysql response ok object. Allows to access the ok packet properties of the response.
This topic lists the expressions that are provided by this class.
AFFECTED_ROWS
number of rows affected by INSERT/UPDATE/DELETE.
Returns: unsigned_long_at
INSERT_ID
If the statement (query) generated any AUTO_INCREMENT number, it is returned here. Otherwise this field contains 0.
Returns: unsigned_long_at
MESSAGE
returns text message after INSERT etc queries.
Returns: text_t
STATUS
Client can use the server status to check if command was inside a transaction. Server status contains a bit string, each bit corresponds to these fields: IN TRANSACTION, AUTO_COMMIT, MORE RESULTS, MULTI QUERY, BAD INDEX USED, NO INDEX USED, CURSOR EXISTS, LAST ROW SEEN, DATABASE DROPPED, and NO BACKSLASH ESCAPES.
Returns: num_at
WARNING_COUNT
returns the warning_count attribute of OK Packet.
Returns: num_at