couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1292) "validate_doc_update": function(n,o,u){}
Date Tue, 20 Sep 2011 02:06:09 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Kocoloski resolved COUCHDB-1292.
-------------------------------------

    Resolution: Not A Problem

Hi Gert, the wiki is user-editable, no need for a commit bit.

> "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
>              Labels: couchdb
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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