couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Black <...@alwaysreformed.com>
Subject Re: how to fetch the newes document of every type?
Date Fri, 26 Oct 2012 20:57:44 GMT

On 10/26/2012 03:55 PM, Jens Alfke wrote:
> On Oct 26, 2012, at 12:48 PM, Dirk Heilig <dirk@heilig-online.com> wrote:
>
>> what i need is a view, and the magic wat to query this view to get the
>> lastest news of any kind, how do i manage this?
> Emit the ‘created’ property as the key. Then query the view in descending order with
a limit.
More detail is here:  http://guide.couchdb.org/editions/1/en/views.html

Tim


Mime
View raw message