Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8090B7E91 for ; Mon, 3 Oct 2011 00:52:43 +0000 (UTC) Received: (qmail 87429 invoked by uid 500); 3 Oct 2011 00:52:42 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87391 invoked by uid 500); 3 Oct 2011 00:52:42 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 87383 invoked by uid 99); 3 Oct 2011 00:52:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 00:52:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomasevdv@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bw0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 00:52:35 +0000 Received: by bke5 with SMTP id 5so6346066bke.11 for ; Sun, 02 Oct 2011 17:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=zoSS3Q9PUb9zfNpuk051MyPcMGou6uudwM3jxW8MkqY=; b=fjn7Jr0KJUu37Ud7u/EIiBAIhkUWnxnK+ZdHZYdTd35bnS8aWgEpwvrNBUaNVQhblx 1fy63QAdvZAN9Q6Oz3LhYWgLeQK4Emke+t1CM/wKO/hm7X9IwbQH9TlRQqgajZBrZaqW v3XSnp8xOSXZUvGOhOY30UTPz2M0vClLSU49I= MIME-Version: 1.0 Received: by 10.223.20.69 with SMTP id e5mr2226348fab.3.1317603134265; Sun, 02 Oct 2011 17:52:14 -0700 (PDT) Received: by 10.152.9.97 with HTTP; Sun, 2 Oct 2011 17:52:14 -0700 (PDT) Date: Sun, 2 Oct 2011 19:52:14 -0500 Message-ID: Subject: Emiting a Doc from Erlang View From: Thomas Van de Velde To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001517440f8ac5d9c504ae5a621b --001517440f8ac5d9c504ae5a621b Content-Type: text/plain; charset=ISO-8859-1 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 --001517440f8ac5d9c504ae5a621b--