On Jan 15, 2016, at 3:20 AM, rajath s k 
<[email protected]<mailto:[email protected]>> wrote:

For example I have to get Employees from each Department who has worked on 
specific Project

Make a view that for each employee emits a key [projectID, employeeID]. Then 
query it with the startKey being [projectID], i.e. an array with the project ID 
you want to query, and the endKey being [projectID, {}], i.e. the startKey but 
with an empty dictionary appended.

Have you read the docs on querying?

—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/378AC21D-C0EC-463F-9FA4-AD5EFBE9651D%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to