NAME

DB::CouchDB::Result - a result object for DB::CouchDB

DESCRIPTION

Gives you some convenience functions for dealing with CouchDB results

SYNOPSIS

my $rs = $db->get_doc($docname);

if ($rs->err) {
    die $rs->errstr;
}

my $docid = $rs->{_id};
my %result = %$rs;

Methods

err

Returns the error from couchdb if there was an error.

errstr

Returns the error string from couchdb if there was an error.