public function fetch($sql, $params = array(), $types = array())
    {
        return $this->query($sql, $params, $types)->fetch();
    }
public function fetch($sql, $params = array(), $types = array())
    {
        return $this->query($sql, $params, $types)->fetch();
    }
public function fetch ( $ sql , $ params = array ( ) , $ types = array ( ) ) { return $ this -> query ( $ sql , $ params , $ types ) -> fetch ( ) ; }
Executes a query and returns the first array result

@param string $sql The SQL query
@param mixed $params The query parameters
@param array $types The parameter types to bind
@return array|false Return an array or false when no result found
Executes a query and returns the first array result