Method: Couchbase::Protostellar::BinaryCollection#append

Defined in:
lib/couchbase/protostellar/binary_collection.rb

#append(id, content, options = Options::Append::DEFAULT) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



30
31
32
33
34
# File 'lib/couchbase/protostellar/binary_collection.rb', line 30

def append(id, content, options = Options::Append::DEFAULT)
  req = @kv_request_generator.append_request(id, content, options)
  resp = @client.send_request(req)
  ResponseConverter::KV.to_mutation_result(resp)
end