Document update handlers: Examples

2017-08-10 Thread John Le Brasseur
Hi. I am trying to create a generic document update handler. I am using: function(doc, req) {var field = req.query.field; var value = req.query.value; var message = 'set '+field+' to '+value; doc[field] = value; return [doc, message]; } This works ok with simple json but not with a nested obj

Re: Document update handlers: Examples

2017-08-10 Thread Stefan Klein
Hi 2017-08-10 13:12 GMT+02:00 John Le Brasseur : > > Hi. > I am trying to create a generic document update handler. > > I am using: > > function(doc, req) {var field = req.query.field; var value = > req.query.value; var message = 'set '+field+' to '+value; doc[field] = > value; return [doc, mess

[NEWS] The CouchDB weekly news for August 10 is out!

2017-08-10 Thread Jenn Turner
Hello hello and happy Thursday! The Apache CouchDB weekly news is now live at: https://blog.couchdb.org/2017/08/10/couchdb-weekly-news-august-10-2017/ Highlights include a new release for CouchDB, new posts on PouchDB, and