ok, so a bit more sleuthing reveals that you have a ErrorNo field returned in the object like so
WA_MySQLi_Query Object
(
[Action] => update
[UseAction] => update
[AffectedRows] => 0
[Connection] => mysqli Object
(
[affected_rows] => -1
[client_info] => mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $
[client_version] => 50011
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[error_list] => Array
(
)
[field_count] => 0
[host_info] => Localhost via UNIX socket
[info] => Rows matched: 1 Changed: 0 Warnings: 0
[insert_id] => 0
[server_info] => 5.6.35
[server_version] => 50635
[stat] => Uptime: 359 Threads: 1 Questions: 633 Slow queries: 0 Opens: 69 Flush tables: 1 Open tables: 62 Queries per second avg: 1.763
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 9
[warning_count] => 0
)
[Debug] => 1
[Error] =>
[ErrorNo] => 0
[FieldCount] => 0
[Filter] =>
[FilterValues] => Array
(
[0] => Array
(
[0] => SKU
[1] => =
[2] => s
[3] => JGB635DEKBB
[4] =>
[5] =>
)
[1] => Array
(
[0] => storeID
[1] => =
[2] => i
[3] => 2
[4] =>
[5] =>
)
)
[ID] => 3
[InsertID] => 0
[NumRows] => 0
[ParamColumns] => Array
(
[0] => Array
(
[0] => sell_code
[1] =>
)
[1] => Array
(
[0] => store_SKU
[1] =>
)
[2] => Array
(
[0] => tstampupdate
[1] =>
)
[3] => Array
(
[0] => dateupdate
[1] =>
)
[4] => Array
(
[0] => adminupdate
[1] =>
)
)
[ParamCount] => 6
[ParamDefaults] => Array
(
[0] => WA_IGNORE
[1] => WA_IGNORE
[2] => WA_DEFAULT
[3] => WA_DEFAULT
[4] => WA_DEFAULT
[5] =>
[6] =>
)
[ParamTypes] => Array
(
[0] => s
[1] => s
[2] => i
[3] => s
[4] => i
[5] => s
[6] => i
)
[ParamValues] => Array
(
[0] =>
[1] => 741
[2] => 1499078976
[3] => 2017-07-03
[4] => 7
[5] => JGB635DEKBB
[6] => 2
)
[RelationalColumns] => Array
(
)
[RelationalRows] => Array
(
)
[RelationalRowsFound] =>
[RepeatConditions] => Array
(
)
[RepeatedParams] => Array
(
)
[RepeatIndex] => 2
[Statement] => UPDATE tbl_store_models_info SET `store_SKU` = ?, `tstampupdate` = ?, `dateupdate` = ?, `adminupdate` = ? WHERE `SKU` = ? AND `storeID` = ?
[SaveAs] =>
[Table] => tbl_store_models_info
)
Can I just do a check if the value returned is greater than zero to detect an error ?