incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel DeLeo" <>
Subject Adding attributes to a document in the view?
Date Thu, 18 Dec 2008 16:41:28 GMT
Is it possible in the newer versions to add attributes to a document object
in the view?  For example, on 0.8.0, if your view map function is:

function(doc) {
  doc.computed_attribute = 'hello, world';
  emit(doc._id, doc);

The view gives a 50X error, and a stack trace in futon.  Is it possible to
do this in any version of Couch?

Dan DeLeo

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