incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcello Nuccio <marcello.nuc...@gmail.com>
Subject Arguments of validate_doc_update().
Date Tue, 20 Sep 2011 12:47:02 GMT
Looking at the source code[1], I understand that `validate_doc_update`
functions are called with four arguments, instead of three as
documented on the wiki[2] and the "Definitive Guide"[3].

If I understand it correctly, the fourth argument is the security
object of the database. Is it correct?. It's OK for you if I update
the wiki[2] with this information?

Thanks,
  Marcello

[1]: https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_query_servers.erl#L225
[2]: http://wiki.apache.org/couchdb/Document_Update_Validation
[3]: http://guide.couchdb.org/draft/validation.html

Mime
View raw message