On Sep 22, 2015, at 10:26 AM, Aj 
<[email protected]<mailto:[email protected]>> wrote:

And, If I want more than one specific university rows ? for example,  get all 
the rows for university names, "MIT" & "VTU”.

You’ll need to run multiple queries, because those are multiple disjoint key 
ranges in the index.

I know that query.keys = [ ["MIT","Bachelor","Aj"], ["MIT", "Master", "AJ"] ] 
would gimme matching results.  But, I don't know student names. So, I tried 
putting an empty dictionary to indicate that I want all the studentName to be 
included.
That doesn't seems to be working. Can't this be made to work?

As I said before, an empty dictionary is not a wildcard or placeholder. It’s 
simply a value that sorts after all other values (due to the ordering defined 
by JSON collation), so it’s convenient to use as an end marker in a key range. 
It doesn’t make any sense to use an empty dictionary in a “keys” property.

—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/3654DECE-F79D-40E7-9BE6-48F99595C741%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to