incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Van de Velde <thomase...@gmail.com>
Subject Re: Emiting a Doc from Erlang View
Date Mon, 03 Oct 2011 11:53:26 GMT
I thought include_docs only works when you have a reduce function defined as
well.

On Sun, Oct 2, 2011 at 8:28 PM, Keith Gable <ziggy@ignition-project.com>wrote:

> I wouldn't emit a document in a view because you can always use
> include_docs
> to get the doc.
> On Oct 2, 2011 7:52 PM, "Thomas Van de Velde" <thomasevdv@gmail.com>
> wrote:
> > Hi,
> >
> > How can I emit the document as part of an Erlang view?
> Emit(Something,*Doc*)
> > doesn't work.
> >
> > Is there a good sample app or set of unit tests to look though? I looked
> at
> > the test that ships with Futon but it doesn't show this.
> >
> > Thanks!
> >
> > Thomas
>

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