couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Heilig <>
Subject how to fetch the newes document of every type?
Date Fri, 26 Oct 2012 19:48:31 GMT
i've got a problem:
i have a lot documents, lets say "news"
some are sports-news, some are world-news some are localnews.
local news only comes once per month or so, sport news are twice
weekly and world news daily.

in short a news document looks like:

created:2012-10-62 21:46:30
text:Dirk Heilig wrote to the couchdb mailinglist

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?


View raw message