couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor Mac Aoidh <conormacao...@gmail.com>
Subject Post Insert Validation
Date Fri, 26 Sep 2014 08:57:16 GMT
Hi All,

I was previously using the validate_doc_update function for document 
validation. However, now I need to be able to change the contents of a 
document if it is invalid.

I was wondering what the best way to go about this is? Is there any 
design function that executes after a document insert and that will 
allow me to edit the document contents. I understand this will result in 
an additional revision.

Thanks

Conor

Mime
View raw message