Couchbase Append operation


#1

I am trying to use append operation. After doing several append operations, is there any way I can have a string of values, instead of giant string.

Thanks


#2

Hello,

The Append/Prepend operations are adding the value to the existing value as string.

Could you explain what you mean by “string of value”?

Regards
Tug
@tgrall


#3

No, It’s impossible. Objects are added to the documents in a serialized form.

The append() methods append raw serialized data on to the end of the existing data in the key…
De-serialization of objects that have had data appended may result in data corruption.

http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-append.html


#4

Sorry, I mean is it possible to store a string array or List

Thanks