function DB_common::affectedRows in Flickr API 5
Determines the number of rows affected by a data maniuplation query
0 is returned for queries that don't manipulate data.
Return value
int the number of rows. A DB_Error object on failure.
2 methods override DB_common::affectedRows()
- DB_mysql::affectedRows in phpFlickr/
PEAR/ DB/ mysql.php - Determines the number of rows affected by a data maniuplation query
- DB_pgsql::affectedRows in phpFlickr/
PEAR/ DB/ pgsql.php - Determines the number of rows affected by a data maniuplation query
File
- phpFlickr/
PEAR/ DB/ common.php, line 1702
Class
- DB_common
- DB_common is the base class from which each database driver class extends
Code
function affectedRows() {
return $this
->raiseError(DB_ERROR_NOT_CAPABLE);
}