couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Revision limit per-document
Date Sat, 18 Dec 2010 03:30:07 GMT
On Fri, Dec 17, 2010 at 9:19 PM, Svein Helge Grinden
<svein.helge.grinden@gmail.com> wrote:
> Hi
>
> I wonder if it's possible to set the revision limit per-document and not
> just for the whole database?
>
> I would like to keep lets say 10 revisions for each document. After compact
> database is ran I would still want to have up to 10 revision of each
> document.
> Far as I have figured out, I can only set the total number of revisions for
> the hole database.
>

The revs_limit is per document already. There is no database wide
revision limit.

HTH,
Paul Davis

Mime
View raw message