From user-return-8735-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Feb 10 05:45:03 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 94797 invoked from network); 10 Feb 2010 05:45:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 05:45:02 -0000 Received: (qmail 44276 invoked by uid 500); 10 Feb 2010 05:45:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44119 invoked by uid 500); 10 Feb 2010 05:45:00 -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 44109 invoked by uid 99); 10 Feb 2010 05:44:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 05:44:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mail.madhavsharma@gmail.com designates 209.85.222.175 as permitted sender) Received: from [209.85.222.175] (HELO mail-pz0-f175.google.com) (209.85.222.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 05:44:51 +0000 Received: by pzk5 with SMTP id 5so10460245pzk.29 for ; Tue, 09 Feb 2010 21:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=/2gK+WRN/tNxYOjq6btCaM+PvybuQSs9OnCnv84EMVo=; b=HoXhJ6wCiGnRXW4SdieI3rJzvPfMXnWItGq1KQePWROh9dfHuGkAbhLRaqlRAIWqd+ 566CR9+VOb6R5/AwD3sX34vbZeA8RxVVY18nxaRZY31yKfikBAG5sI5QkJGOYIfpyxKy Ox3xnaX076aJUSGn0IFquFYRVPUCP2Nm6oG9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rEoarKoJ9CyvExJTcm5RjuNlrKW3d4xYUUleSETfk7hC7GGG/6P6ok5p9xG2dAKowI DC4oNRjE2gNvfFHzIbeYl9xWnxigpaMceshmTDFq3GHqXfNl8pr7rCLjykap8PIQkBQ2 B6a6MCSy8Dclct4pBTybNywUKutDUMLLhDLc4= MIME-Version: 1.0 Received: by 10.142.152.17 with SMTP id z17mr1522454wfd.45.1265780670360; Tue, 09 Feb 2010 21:44:30 -0800 (PST) Date: Wed, 10 Feb 2010 11:14:30 +0530 Message-ID: Subject: parametrized view generation From: madhav sharma To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000e0cd2e3ca386e63047f3887a0 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd2e3ca386e63047f3887a0 Content-Type: text/plain; charset=ISO-8859-1 hi everyone I am couchdb for one of my project and i am stuck at a place where i need your help. My use case of problem is that i have a set of documents which have same field with different value and i need to get the value of field (say name) from a document with id (say information) , and i want this mapfunction to be generic so that i can call this with different document id and get the the field value out of it. In sql it can just be( select name from Table where id = 1233 ) so any help is appreciated Thanks --000e0cd2e3ca386e63047f3887a0--