Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1292

"validate_doc_update": function(n,o,u){}

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • 1.2
    • None
    • Database Core
    • linux

    • New Contributors Level (Easy)

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            gert gert cuykens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified