> On Feb 26, 2015, at 10:19 AM, Brett Harrison <[email protected]> 
> wrote:
> 
> Is there a way to have a local document with attachments?

No. Local documents are just simple JSON containers. When they’re used, which 
is rarely in my experience, they’re just for storing little bits of local 
state. You could always Base64-encode the attachment and add it as a property.

If you need to store local-only data and get all the regular document features 
like attachments, revisions and views, you can always create another database 
and just never replicate it.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/56920821-2B03-42DB-BE54-5E057F9675BA%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to