Nothing like this inside CouchDB you need to make an application tier on your own for this. The business logic inside couchDB is to create view not to update or modify document.
http://wiki.apache.org/couchdb/HTTP_view_API You also have special formatting function (show /list ) to enable to display document or view in something other than JSON. http://wiki.apache.org/couchdb/Formatting_with_Show_and_List Regards 2009/4/13 sftf <[email protected]> > I can not understand how to implement the application logic on the database > side in couchdb. > Is there an equivalent of stored procedures? > Can I, for example, to write the database code to receive certain documents > from view, > process them, and create new documents or modify the existing? > And all this is inside database - only by one call from client. > Thanks. > >
