Hacker News new | ask | show | jobs
by rakoo 3562 days ago
> As for me, I wanted an error from my database if my application code asked for something or tried to store something invalid

It is not enough for actually relational data, but surely you know that CouchDB has validate_doc_updates functions specifically designed to check user rights and document structure ?

http://docs.couchdb.org/en/1.6.1/couchapp/ddocs.html#validat...