couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <scher...@gmail.com>
Subject How to implement system hooks
Date Mon, 23 Sep 2013 16:06:35 GMT
Hi all,

I just started to play around with couchdb and I was trying to implement
the same behaviour of the user db in terms of read/write access. After a
while I figured that the user db is special since the logic I want is
implemented in after_doc_read of
https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=blob_plain;f=src/couchdb/couch_users_db.erl

Now my question is how can I implement such a code in a custom database?
I could not find find any guides to roll out your own db in this way.
Can somebody point me to some docus or examples.

TIA

salu2

-- 
Thorsten Scherler <scherler.at.gmail.com>
codeBusters S.L. - web based systems
<consulting, training and solutions>

http://www.codebusters.es/


Mime
View raw message