MySQL Fields

edit

MySQL-specific event fields.

mysql.iserror

edit

type: boolean

If the MySQL query returns an error, this field is set to true.

mysql.affected_rows

edit

type: long

If the MySQL command is successful, this field contains the affected number of rows of the last statement.

mysql.insert_id

edit

If the INSERT query is successful, this field contains the id of the newly inserted row.

mysql.num_fields

edit

If the SELECT query is successful, this field is set to the number of fields returned.

mysql.num_rows

edit

If the SELECT query is successful, this field is set to the number of rows returned.

mysql.query

edit

The row mysql query as read from the transaction’s request.

mysql.error_code

edit

type: long

The error code returned by MySQL.

mysql.error_message

edit

The error info message returned by MySQL.