DB_common | DB_common::autoCommit() |
DB | |
PEAR Manual | |
integer affectedRows (
)
Number of rows affected by a data manipulation query (for example INSERT, UPDATE or DELETE). Returns 0 for SELECT queries.
integer - number of rows or a DB_Error object on failure
Error code | Error message | Reason | Solution |
DB_ERROR_NOT_CAPABLE | DB backend not capable | Function is not supported by the database backend | Switch to another database system, if you really need this feature. |
This function can not be called statically.
Using affectedRows()
|
DB_common | DB_common::autoCommit() |
DB | |
PEAR Manual | |