javascriptcouchdbcouchapp

Where to put custom validation function inside CouchApp folder structure?


Where in CouchApp folder structure should I put validation function that it will be properly pushed with couchapp push command?


Solution

  • Check out the CouchApp documentation.

    The correct file is ./validate_doc_update.js