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 E9E37953A for ; Sun, 15 Jan 2012 06:43:45 +0000 (UTC) Received: (qmail 88885 invoked by uid 500); 15 Jan 2012 06:43:44 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 88575 invoked by uid 500); 15 Jan 2012 06:43:29 -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 88562 invoked by uid 99); 15 Jan 2012 06:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 06:43:22 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cgsmcmlxxv@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 06:43:13 +0000 Received: by qcsp15 with SMTP id p15so1041987qcs.11 for ; Sat, 14 Jan 2012 22:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GQvICcP2SJAkfVq9CiSO3ZqspdFEx24VPyO2VCV9k7c=; b=hPbY0m1S6ily8fc11Hqs/Zb/qEykLFX8f5bqrVIam1AUnOwkPMMvkTk9Q5fXnUl+xQ pGYPYs6fgrHu1l8GiQWXnvpTHKKjkaYwFA+IhSWlUDDY16KWThw19YaB2mmmgSZJUsjD VqNfWOB/NwsJR97T6rChpQKRKbSZzh//bFon0= MIME-Version: 1.0 Received: by 10.229.78.217 with SMTP id m25mr777050qck.98.1326609772511; Sat, 14 Jan 2012 22:42:52 -0800 (PST) Received: by 10.229.76.202 with HTTP; Sat, 14 Jan 2012 22:42:52 -0800 (PST) In-Reply-To: References: Date: Sun, 15 Jan 2012 07:42:52 +0100 Message-ID: Subject: Re: [object Object] instead of string From: CGS To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0023544713d03f02ba04b68b68a0 X-Virus-Checked: Checked by ClamAV on apache.org --0023544713d03f02ba04b68b68a0 Content-Type: text/plain; charset=ISO-8859-1 Maybe you should check what you have at that key. It may be it's not what you expect (maybe it's a null or bad formatted string). CGS On Sun, Jan 15, 2012 at 5:21 AM, Gabriel de Oliveira Barbosa < manobi.oliveira@gmail.com> wrote: > Anyone have a idea why I'm seeing [object Object] where I expect an string > ? > I'm running a "_view" with map and reduce that is currently outputting: > { > rows: [ > { > value: { > * ip: { [object Object]: 2 }* > }, > key: '2012-01-14' > }, > { > value: { > * ip: { 192.168.1.100: 6 }* > }, > key: '2012-01-13' > } > ] > } > > In the second row it's working fine, but all the rest are broken. What I'm > doing wrong ? > --0023544713d03f02ba04b68b68a0--