couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Ramalho <>
Subject Re: Re-writing content on save
Date Tue, 05 Apr 2011 02:50:28 GMT
On Mon, Apr 4, 2011 at 7:07 PM, Travis Jensen <> wrote:
> hasn't
> been written. I need to save a portion of the document as encrypted. How can
> I insert my code in between the put and the actual save (and vice-versa for
> reading) to do said encryption/decryption?

For encrypting on write, you can use an update handler, as described here:

For decrypting on read, you can use a show function:


Luciano Ramalho
programador repentista || stand-up programmer
Twitter: @luciano

View raw message