incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Burt <imtrues...@gmail.com>
Subject Re: can I configure couchdb to output an object with variable name?
Date Thu, 03 Feb 2011 10:03:48 GMT
You could use either a "show" or a "list" to transform the JSON
({"objectname" : "value"}) into the javascript (var myobj = {"objectname" :
"value"}) you indicate.  Let me know if you need an example.

- George

On Thu, Feb 3, 2011 at 4:18 AM, bryan rasmussen
<rasmussen.bryan@gmail.com>wrote:

> In other words instead of being
> {"objectname" : "value"}
>
> it returns
>
> var myobj = {"objectname" : "value"}
>
> Thanks,
> Bryan Rasmussen
>

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