On Thu, Jan 27, 2011 at 8:08 AM, Jan Lehnardt <[email protected]> wrote:

> See http://wiki.apache.org/couchdb/View_collation
>
> {} is usually used because it sorts after all strings and numbers. It does
> however, sort before all other non-empty objects.
>
> 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)
>

Thanks! I'll give that a shot.

-- 
Matthew Woodward
[email protected]
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

Reply via email to