Hello,

I want to get a single item from the database, but from what I read it's 
not recommend to capture other external variables(local variables from 
within the function I set the block) in mapBlock from CBLView. Is this 
correct ?

Right now I can get all documents of a certain type and after that parse 
them until I found the item I need. Is there another way to get the item 
without actually parsing the entire CBLQueryEnumerator ? I know about 
postFilter 
property of CBLQuery but I was thinking if there is another way.

Thank you in advance :-)

-- 
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/80780ead-7c63-42b5-b3bd-465a8e2dbd5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to