incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Stevens (Gmail)" <wickedg...@gmail.com>
Subject Re: Start and End Key with Map as Part of Key
Date Mon, 31 Jan 2011 16:38:48 GMT
Is there a reason your key isn't emit([doc.office, witness.lastName,
witness.firstName]) ?  Also, using "\uffff" or similar might be better than
"ZZZ".

Eli

On Mon, Jan 31, 2011 at 6:28 AM, Matthew Woodward <matt@mattwoodward.com>wrote:

> On Thu, Jan 27, 2011 at 8:08 AM, Jan Lehnardt <jan@apache.org> wrote:
>
> > You've got to pick and endkey that sorts after your "largest" key object.
> > e.g. {"firstName":"ZZZZZZZZZZ","lastName":"ZZZZZZZZZZ"} (This is
> off-hand,
> > maybe there's a smarter way)
> >
>
> Just to follow up on this, finally got a chance to play around with this
> and
> this does indeed do the trick. There may be a smarter way but this is smart
> enough for me since it's working. ;-)
>
> Really appreciate the assistance.
> --
> Matthew Woodward
> matt@mattwoodward.com
> http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.
> http://www.gnu.org/philosophy/no-word-attachments.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message