couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiril Stankov <ki...@open-net.biz>
Subject Update handlers
Date Thu, 29 Jan 2015 09:12:38 GMT
Hi,

I'm new to CouchDB and I have a question about updates.
It seems that I misunderstood how they work.
I assumed that they are automatically called upon submitting or 
modifying a document to the db.
For example, I add a document and I want a field 'createddate' to be 
automatically filled with current time stamp.

Now I realize that to make an update run, I need to call it's URL.

Is there a way to achieve what I need or I should add the logic to my 
server side code?

Thanks in advance!
------------------------------------------------------------------------
*With best regards,*
Kiril Stankov,


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message