incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Talbot <ja...@jamietalbot.com>
Subject Re: View key query
Date Fri, 13 Jan 2012 20:16:25 GMT
Hi Martin,

I think this is because 18 (as your fourth key component) is between 0
(in your startKey) and 23 (in your endKey).

Cheers,

Jamie.

On Fri, Jan 13, 2012 at 12:11, Martin Hewitt <martin@thenoi.se> wrote:
> Hi all,
>
> I've been banging my head against the wall with this for ages, can someone enlighten
me as to why a view entry with the key:
>
> key: [
>         2012,
>         1,
>         13,
>         18,
>         "theme",
>         "observed",
>         "Radio Page"
> ]
>
> Is returned with the query parameters:
>
> startkey=[2012,1,13,0,"metric","31214616cc684011f9e9ea1df9020114"]
>
> endkey=[2012,1,13,23,"metric","31214616cc684011f9e9ea1df9020114",{}]
>
> An example of the key I'm looking for is:
>
> key: [
>         2012,
>         1,
>         13,
>         18,
>         "metric",
>         "31214616cc684011f9e9ea1df9020114",
>         16
> ]
>
> Any help hugely appreciated, thanks!
>
> Martin



-- 
---
http://jamietalbot.com

Mime
View raw message