I think query.keys is going to filter based on the original document id's not the emitted keys.
If you want to only pull rows that match a specific composite key, try: query.startKey = @[doctype, @(id)]; query.endKey = @[doctype, @(id)]; -- 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/9e0bf94e-6261-4fdd-a3d3-b08199572498%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
