couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Woodward <>
Subject Re: View Including Documents It Doesn't Seem Like It Should
Date Thu, 03 May 2012 16:43:43 GMT
On Thu, May 3, 2012 at 9:10 AM, Robert Newson <> wrote:

> To achieve "What I want to be able to pull is all classes for a
> specific course ID, ordered by learning method, but within a specific
> date range." you will need to emit [doc.course_id, doc.date_range,
> doc.learning_method] as your key, and use ?startkey=[course,
> start_date]&endkey=[couch, end_date] to get the slice you are after.
> The results will be in date order, not learning_method order.

Great -- thanks for the clarification. Appreciate it.

Matthew Woodward / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.

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