Here is a validation function signature in CouchDB:
function (newDoc, oldDoc, userCtx, secObj) {}
I wonder what the last 开发者_如何学JAVAargument is.
The wiki documentation for CouchDB's Document Update Validation says this is "The security object of the database (introduced in CouchDB-0.11.1)."
This security object describes what admin/reader privileges have been set on the DB, details about its structure and meaning is given in the wiki's Security Features Overview page.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论