NAME
POE::Component::Client::CouchDB::Database
VERSION
Version 0.05
SYNOPSIS
This class is for easy interaction with a single CouchDB database. As with POE::Component::Client::CouchDB, everything goes through the call interface, which you can use to do anything fancy not provided by the other helpers.
ATTRIBUTES
- couch
 - 
The <POE::Component::Client::CouchDB> object that this database lives on. Required.
 - name
 - 
The name of the database to interact with. Required.
 
METHODS
Where a doc is specified in the methods below, it means a simple perl HASH in the structure described in by the CouchDB docs.
- call method, path, ...
 - 
This is call with the url and database parts filled in - use a path such as "_all_docs" instead. You shouldn't need to use this directly, so don't.
 - all_docs <query_opts>
 - get id
 - get_revision id, revision
 - get_revinfo id
 - create doc
 - create_named id, doc
 - update id, doc
 - delete id
 - attachment id, name
 - create_design id, doc
 - update_design id, doc
 - delete_design id
 - view design, name
 - temp_view viewfn
 - 
These all do what you would expect according to the CouchDB documentation. See http://wiki.apache.org/couchdb/HttpDocumentApi.
 
AUTHOR
Paul Driver, <frodwith at cpan.org>
BUGS
Probably.
COPYRIGHT & LICENSE
Copyright 2008 Paul Driver
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.