public function affectedRows($which_connection='')
    {
        if ($which_connection == '') {
            $which_connection=$this->default_db;
        }
        $con = $this->connections[$which_connection];

        return $con->Affected_Rows();
    }
public function affectedRows($which_connection='')
    {
        if ($which_connection == '') {
            $which_connection=$this->default_db;
        }
        $con = $this->connections[$which_connection];

        return $con->Affected_Rows();
    }
public function affectedRows ( $ which_connection = '' ) { if ( $ which_connection == '' ) { $ which_connection = $ this -> default_db ; } $ con = $ this -> connections [ $ which_connection ] ; return $ con -> Affected_Rows ( ) ; }
Check how many rows the last query affected
@param which_connection see method close
@returns Number of rows
Check how many rows the last query affected