开发者

What is the last argument in validation functions in CouchDB?

开发者 https://www.devze.com 2023-01-28 04:59 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消