MDB_Common::affectedRows()

MDB_Common::affectedRows() -- Number of affected rows

概要

require_once 'MDB.php';

integer affectedRows ()

説明

Number of affected rows by a query

返り値

integer - number of rows or MDB_Error when fail

例外・エラー

表 33-1PEAR_Error の値

Error codeError messageReasonSolution
MDB_ERROR_NOT_CAPABLE NULL Function is not supported by the database backend Switch to another database system, if you really need this feature.

注意

この関数は、スタティックにコールする ことはできません。

参照

query()