incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Bryan <danbr...@gmail.com>
Subject Re: [object Object] instead of string
Date Sun, 15 Jan 2012 05:28:07 GMT
Could you show us the code for the view?
On Jan 15, 2012 3:21 PM, "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 ?
>

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