How to get/set attachment on couchbase server via Java SDK?

How can I get/set attachment on couchbase server via Java SDK for my online web system?

1 Like

Hi,

what do you mean by attachment? If you are looking to store binary files in Couchbase, I would actually store them on a binary store and reference them in Couchbase documents.

I want to use a similar method as shown in the below link on Couchbase Server

http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/attachment/index.html

In this link, it only shows how to get/set the attachment in Couchbase Lite.

Anyone can help? :grin:

Hi,

Did you get any way out for storing attachments directly on CouchBase Server just like CouchBaseLite?

1 Like