MDB_Common::affectedRows()

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

Synopsis

require_once 'MDB.php';

integer affectedRows ()

Beschreibung

Number of affected rows by a query

Rückgabewert

integer - number of rows or MDB_Error when fail

Fehler-Meldungen

Tabelle 34-1. Mögliche Fehler-Arten

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.

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Siehe auch

query()