How do I preserve the _rev that I get in the dictionary from the server? I need to preserve both for updating the server objects.
On Monday, February 10, 2014 2:04:30 PM UTC-8, Jens Alfke wrote: > > > On Feb 10, 2014, at 1:45 PM, Alan McKean <[email protected] <javascript:>> > wrote: > > It looks like I will have to create the CBLModel before I create the > CBLDocument so that it will pick up the overridden version of > idForNewDocumentInDatabase:. Yes? > > > If you create the document first, it's even easier. Just call [db > documentWithID:] to tell it what ID you want. Then create a model from that > document. > > —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/2d65124f-a38a-4e69-a838-c219a34d0098%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
