> On Jul 11, 2015, at 6:34 PM, Brendan Duddridge <[email protected]> wrote:
> 
> Is there any Couchbase equivalent to fetching a list of documents that are 
> not contained within a specified list of documents?

I’m not sure exactly what you mean, but I don’t think so. 

(Also, I have to nitpick and point out that queries don’t fetch documents, they 
fetch rows from the index, which are identified by keys. You can reach the 
source document via the row, but it’s not a one-to-one mapping (a document can 
emit multiple rows), and if you have a reduced or grouped query the rows are 
now created from multiple documents.)

> I'm thinking there's nothing, but it would be nice if there was a way to 
> specify on a key by key basis in the CBLQuery keys property that some are 
> inclusion values and some are exclusion values.
> … I'm thinking I'm just going to have to add a postFilter predicate to handle 
> this sort of thing.

Yup, a postFilter is the way to do this. 

—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/CF8F3D34-AB85-47EF-B7E3-D181E1877978%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to