couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Barnes <mrtr...@gmail.com>
Subject Re: transform functions?
Date Fri, 11 Dec 2009 11:56:54 GMT
http://wiki.apache.org/couchdb/How_to_intercept_document_updates_and_perform_additional_server-side_processing

It's a fairly new feature, and isn't covered properly by the book yet.
Don't worry, I saw a post claiming that validate_doc_update could modify 
the newDoc var (it can't), and wrote a fairly complex validation 
function predicated on that before I realised otherwise. ^_^

-Pat

Matteo Caprari wrote:
> Hi.
> 
> I thought I once found some documentatation describing how to provide
> a transformation function
> that would change a document before storing it.
> 
> I can't for the life of me remember where I found it and google is not
> helipng, either.
> 
> Does this feature even exist? I'm just about to question my sanity...
> 
> -teo
> 

Mime
View raw message