> On Jul 19, 2017, at 9:24 AM, [email protected] wrote: > > For a bucket containing documents of say type "A", "B", "C". How can we make > use of allDocsMode on CBLLiveQuery to get documents of type "A" & "B" in > order to delete them? Do we have to create a CBLView also in this case (I > think)?
allDocsMode is only relevant for queries created by Database.allDocuments. For what you’re doing, create a view that emits doc.type, then query that. —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/3EE116D8-92B4-4DCD-813A-8295B1776A10%40mooseyard.com. For more options, visit https://groups.google.com/d/optout.
