Updating document via Sync Gateway removes attachments

18 views
Skip to first unread message

Adam Wilson

unread,
Dec 7, 2017, 8:37:54 AM12/7/17
to Couchbase Mobile
I've found that I need to re-insert attachments after a document update (via PUT). Is this normal? 
I'm sure the docs say that attachments are not affected by updates.


an...@couchbase.com

unread,
Dec 7, 2017, 9:10:48 AM12/7/17
to Couchbase Mobile
You need to make sure you still include the attachment metadata in any updates.
Reply all
Reply to author
Forward
0 new messages