NAME

Couchbase::View::HandleInfo - informational subclass of Couchbase::Document

DESCRIPTION

This object subclasses Couchbase::Document and fulfills the same role ( but for couchbase view requests, rather than memcached operations).

ADDED FIELDS

These fields are added to the Couchbase::Document object

http_code

Returns the HTTP status code for the operation, e.g 200 or 404

path

Returns the HTTP URI for this operation

count

Returns the count (if any) for the matched result

errinfo

Returns extended (non-http, non-libcouchbase, non-memcached) error information. This is usually a hash converted from a JSON error response.

REIMPLEMENTED FIELDS

The following fields behave differently in this subclass

is_ok

errstr

In addition to checking the libcouchbase and memcached error codes, also checks the HTTP codes and the JSON-level server errors