MDB_Common::affectedRows()

MDB_Common::affectedRows() – Number of affected rows

Synopsis

require_once 'MDB.php';

integer affectedRows ( )

Description

Number of affected rows by a query

Return value

integer - number of rows or MDB_Error when fail

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
MDB_ERROR_NOT_CAPABLE NULL Function is not supported by the database backend Switch to another database system, if you really need this feature.

Note

This function can not be called statically.

Interface for database access (Previous) create a new sequence (Next)
Last updated: Fri, 19 Dec 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.