couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolai Teofilov <>
Subject Shows with request query strings
Date Sat, 27 Mar 2010 22:24:38 GMT
I am trying to use a show with request query strings like this:

function(doc, req) {
  return {
    body : doc._id + " " + req.test

then calling the function on a document with query string:

I  expect to get:

dummy ok

but the result is:

dummy undefined

Is it possible to use both arguments in a show function?

I need to format an attachment from specified document.

Currently I try this with 0.11.0b922675 under OS X 10.62


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