public function setFetchMode($fetch)
    {
        $this->fetch = $fetch;

        $this->pdo->setAttribute(
            PDO::ATTR_DEFAULT_FETCH_MODE,
            $fetch
        );
    }
public function setFetchMode($fetch)
    {
        $this->fetch = $fetch;

        $this->pdo->setAttribute(
            PDO::ATTR_DEFAULT_FETCH_MODE,
            $fetch
        );
    }
public function setFetchMode ( $ fetch ) { $ this -> fetch = $ fetch ; $ this -> pdo -> setAttribute ( PDO :: ATTR_DEFAULT_FETCH_MODE , $ fetch ) ; }
Sets the data recovery mode.

@param int $fetch
Sets the data recovery mode .