src/Db/WpDbAdapter.php
public function last_affected_rows( Statement $statement = NULL ) {

		if ( $statement && ! $this->last_statement === $statement )
			return FALSE;

		return $this->last_affected_rows;
	}
public function last_affected_rows( Statement $statement = NULL ) {

		if ( $statement && ! $this->last_statement === $statement )
			return FALSE;

		return $this->last_affected_rows;
	}
public function last_affected_rows ( Statement $ statement = NULL ) { if ( $ statement && ! $ this -> last_statement === $ statement ) return FALSE ; return $ this -> last_affected_rows ; }
Returns the number of affected rows of the last executed statement.
If a statement is provided it should be verified that it is the same
as the last executed one.

@param Statement $statement (Optional)

@return mixed
Returns the number of affected rows of the last executed statement . If a statement is provided it should be verified that it is the same as the last executed one .