incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas.B...@ptb.de
Subject WG: httpd_db_handlers and doc
Date Thu, 25 Aug 2011 12:11:23 GMT
Are there any comments on requesing a doc out of an external process 
implemented
by httpd_db_handlers? 
or 

> httpd_db_handlers and doc
> 
> Hi,
> 
> I worked out a way/script which allows one running R scripts over a 
couch 
> url using
> [httpd_db_handlers]
> The url than looks like a show url
> http://server/db/_rproc/docId

Is there a "shorter" or "cleaner" way to have the doc-object with the url 
given docId available?

> 
> The thing is that IMHO it don't behaves like a show since
> I have to get the doc with the docId "manually"
> by a (second) request out of my rproc. A show function however has
> function(doc, req){} ...
> 
> Is there a way in which I have the doc in _rproc available, delivered by 

> couch
> in analogy to a show?
> 
> regards

THX

Mime
View raw message