NAME
Net::CouchDb::Doc - Represent a CouchDb document
VERSION
Version 0.01
SYNOPSIS
Provides an object oriented interface to the CouchDb REST/JSON API.
METHODS
new([$id[, $fields]])
Creates a new instance of a document, the ID and fields are optional.
id
Getter/setter for the ID.
rev
Getter/setter for the revision.
Anything else
This object provides an autoloaded method for any parameter that is set, therefore any field can be set like so:
$doc->foo = "bar";
AUTHOR
David Leadbeater, <dgl at dgl dot cx>
COPYRIGHT & LICENSE
Copyright 2007 David Leadbeater, all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.