Hello.Can I get information about the database as a function of validate_doc_update? For example, to find out the size of the database or the number of documents.
Example: function(newDoc, oldDoc, userCtx) {if ( thisDb.disk_size > 1000 ) throw({forbidden : 'you have exceeded the limit'});
} It is possible? Thanks.