couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Baldridge <>
Subject Re: Duplicate keys in a view
Date Tue, 08 Dec 2009 19:11:34 GMT
You're right...that fixed it.

It seems to be that I just simply "FAIL" when it comes to JSON. I had
assumed that in JSON (like in JavaScript) " == ' . This is not the
case. As you'll notice above I have single quotes around the values,
this forced me to use double quotes around the key definition so that
it'd be accepted by CouchDB. This was causing the issue, I switched to
double quotes and dropped the quotes on the outside of the key and it
works fine.



View raw message