couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Pierre Fiset>
Subject Foreign keys in validate_doc_update?
Date Mon, 20 Dec 2010 16:00:14 GMT
Is there a way of accessing documents in a database while validating a document update

In particular, if a new document inserted to CouchDb contained a field with the id of another
document, would it be possible to retrieve the latter document to verify that the identifier
valid? Also, is it possible to access the content of that document and use the information
there during validation?



View raw message