> Attachments are missing in this document (When i was using ANN: Couchbase Mobile 1.1 Preview Release android). Even i've tested updating same document many times but attachments are not pushing to server database
https://friendpaste.com/2WyDxPe2FtVhOfECBjt60n > After migrate to my *CBL* *Liibraris*(1.0.4) than i've updated same documents with attachments than it is pushing to server database https://friendpaste.com/65GnBvmf5yZPF1q38FIiZu On Tuesday, June 9, 2015 at 11:58:51 AM UTC+5:30, Jens Alfke wrote: > > > > On Jun 8, 2015, at 11:17 PM, PRASANNA KUMAR <[email protected] > <javascript:>> wrote: > > > > My document contains both normal text and attachments but when i create > new document it is creating document with attachments in local device but > while pushing to server it is removing the attachments it is pushing only > normal text(But i'm pretty sure that local document contains an > attachments) the actual problem is only pushing to server > > I’d be very surprised if a document got replicated without its > attachments. They’re always sent together. Can you show an example? > > > That i can say by using some javascript view and query or normal way we > can take local document id(which is newly created) and with help this > document id we can search in server. > > I’m not sure what that means. What API exactly are you using to look at > the documents? You should avoid accessing the Sync Gateway’s bucket > directly using Couchbase Server APIs; the results are probably not going to > look like what you expect. (For example, Couchbase Server doesn’t support > attachments at all, so you’re definitely not going to see attachments that > way.) Use the Sync Gateway’s REST API to work with documents on the server. > > —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/c4c22e80-1c44-48ae-a221-ab81c10c2768%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
