Don’t call putProperties until after you’ve added the attachments (and whatever 
other properties you want.)

Document auditDocument = couchDataBase.createDocument();
rev = auditDocument.createRevision();
rev.setAttachment(…)
rev.save()

—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/BBF9303A-57BF-47FA-8C10-263D111A431E%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to