> On Feb 26, 2015, at 10:19 AM, Brett Harrison <
brett.h...@zyamusic.com> 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