You are here

function DB_pgsql::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.

Overrides DB_common::affectedRows

File

phpFlickr/PEAR/DB/pgsql.php, line 650

Class

DB_pgsql
The methods PEAR DB uses to interact with PHP's pgsql extension for interacting with PostgreSQL databases

Code

function affectedRows() {
  return $this->affected;
}