NAME
Couchbase::Couch::ViewRow - Object representing a single view from a resultset
DESCRIPTION
This object has several accessors which just get and set the approrpiate values:
key
The key emitted by the map-reduce function
value
The value for "key"
id
The id of the document from which the key and value were derived
doc
The full document. This is only valid for queries where include_docs=true
, or where ForUpdate
was specified in the view execution.
save(%options)
Saves the document back to couchbase. Options are as follows
- Client
-
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.