couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Farmiloe <>
Subject Re: extra information in design documents
Date Wed, 03 Sep 2008 16:14:22 GMT
> I find the lack of validation in couchdb freeing myself. Just use a  
> template
> copy of the document and fill in the blanks as needed.

Yeah my validation example was quite simplified for the sake of the  
question :)

> But most often I find myself just using it as an object store for the
> objects I have in the code. All validation occurs before I send. And  
> since
> document storage and updates are atomic in couchdb I can be  
> confident that
> what I validated gets stored.

I wasn't proposing that couch ran my validation functions ... but they  
are in javascript.... now you mention it ;-)

View raw message