couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryan rasmussen <rasmussen.br...@gmail.com>
Subject Re: can I configure couchdb to output an object with variable name?
Date Thu, 03 Feb 2011 10:32:50 GMT
Thanks,  I start from here
http://wiki.apache.org/couchdb/Formatting_with_Show_and_List I guess
and ask for help if I run into any problems :)

On Thu, Feb 3, 2011 at 11:03 AM, George Burt <imtrueshot@gmail.com> wrote:
> 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
View raw message