couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gert cuykens (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1292) "validate_doc_update": function(n,o,u){}
Date Mon, 19 Sep 2011 23:35:09 GMT
"validate_doc_update": function(n,o,u){}
----------------------------------------

                 Key: COUCHDB-1292
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1292
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
    Affects Versions: 1.2
         Environment: linux
            Reporter: gert cuykens
            Priority: Trivial


Assign a function instead of a string to make validation handler consistent with the update
handlers

consistent => "updates": { "hello": function(d,r) {} }
consistent => "validate_doc_update": function(n,o,u){}
inconsistent => "validate_doc_update": "function(n,o,u){}"

http://wiki.apache.org/couchdb/Document_Update_Handlers
http://wiki.apache.org/couchdb/Document_Update_Validation



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message