Thanks Jens

-Prasanna

On Tuesday, June 9, 2015 at 10:56:02 PM UTC+5:30, Jens Alfke wrote:
>
> 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/ced91f36-16ce-41cd-b342-fa8d65f3513e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to