At least on normal CouchDB, this would probably be view collation hitting 
you. Your string sorts lower than an array containing any string as first 
element. Try setting the start key as `[BCEE54E`], that is, in an array.

Mike.

On Thursday, 19 November 2015 09:46:50 UTC, Yonah Forst wrote:
>
> I'm getting query results that I don't understand.
>
> I have a view to find a user's *sent* friend requests. It emits the 
> following keys: [fromUUID, toUUID, updatedAt]. Then I create a query and 
> set the start key to the user's UUID (myUUID), and the end key to an 
> array: [myUUID, {}, {}]
>
>
> I'm running into some weird cases. For example, if i set the start key to 
> BCEE54E and the end key to [BCEE54E, {}, {}] I'll get results with keys 
> like [A2A7B92, BCEE54E, 2015-11-18T11:35:16Z]
>
>
> I would have thought that it would not include this key since the first 
> string doesn't match.
>
>
> i've posted the java code here: 
> https://gist.github.com/joshblour/3fb6bc5aa0a5a4c72e20 
>
> the results are in the comments
>

-- 
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/0bfcee96-0b92-45f5-8e69-3d3c419e1212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to