couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Gerakines" <n...@gerakines.net>
Subject Re: Selectively keeping revisions around
Date Tue, 22 Jul 2008 18:30:13 GMT
I'm also very interested in this approach. I've got a document
structure that has 10 or 12 keys that change somewhat often but I'd
like to be able to find all versions of that document and provide a
sort of history based on those keys.

# Nick Gerakines

On Tue, Jul 22, 2008 at 11:22 AM, Kurt Mackey <kurt@mubble.net> wrote:
> I'm admittedly pretty new to CouchDB, but I'm having a tough time figuring
> out how to use the document revisions it keeps around.  As I understand it,
> PUTs replace what's there, leaving what's there in a deleted state until you
> compact the database, at which point it goes away forever.
>
> So given that (and correct me if I got it wrong), what's the best way of
> keeping revisions around forever?  I have a number of documents that will be
> changed quite frequently, and I'd like to get at their history, provide
> diffs against it, etc.  Is anyone doing this?
>
> -Kurt
>

Mime
View raw message