Couchbase::Couch::ViewRow - Object representing a single view from a resultset
This object has several accessors which just get and set the approrpiate values:
The key emitted by the map-reduce function
The value for "key"
The id of the document from which the key and value were derived
The full document. This is only valid for queries where include_docs=true, or where ForUpdate was specified in the view execution.
include_docs=true
ForUpdate
Saves the document back to couchbase. Options are as follows
This is a Couchbase::Client object. Currently this field is not needed because the client is attached to this object during its creation
Returns a Couchbase::Client::Return indicating the status of the operation.
To install Couchbase::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Couchbase::Client
CPAN shell
perl -MCPAN -e shell install Couchbase::Client
For more information on module installation, please visit the detailed CPAN module installation guide.