couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Document_Update_Validation" by NathanVanderWilt
Date Wed, 05 Jun 2013 21:37:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Document_Update_Validation" page has been changed by NathanVanderWilt:
https://wiki.apache.org/couchdb/Document_Update_Validation?action=diff&rev1=9&rev2=10

Comment:
official docs link

  <<Include(EditTheWiki)>>
  
  = Document Update Validation =
+ 
+ See also the [[http://docs.couchdb.org/en/latest/ddocs.html#validate-document-update-functions|official
documentation]] for this topic.
+ 
  <<TableOfContents()>>
  
  A design document may define a member function called "validate_doc_update". Requests to
create or update a document are validated against every "validate_doc_update" function defined
in the database. The validation functions are executed in an unspecified order. A design document
can contain only one validation function. Errors are thrown as javascript objects.

Mime
View raw message