> On Aug 3, 2015, at 1:30 PM, Brendan Duddridge <[email protected]> wrote: > > In my app I create a couple of dummy CBLModel objects that I use to contain > logic and references to other objects. I would like to prevent this object > with a specific document ID from being saved to the database, even when using > the saveAllModels method. Is that possible?
I don’t think there’s a way to do exactly that. The closest thing that comes to mind is to enable autosave for all your other models, then call -autosaveAllModels instead — that method only saves models with autosave enabled. (If you don’t want autosave to trigger on its own, you could set the interval to something ridiculously long.) Do you want those objects to never be saved? (And if so, why are they CBLModels?) —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/C648067E-B31A-4D5E-A6D2-7FEF5E31FA77%40mooseyard.com. For more options, visit https://groups.google.com/d/optout.
