Jeremy Wall > DB-CouchDB-Schema-0.3.04_remove_blib > DB::CouchDB::Result

Download:
DB-CouchDB-Schema-0.3.04_remove_blib.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

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.