incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: couchdb automation tool
Date Wed, 27 Mar 2013 01:38:34 GMT

On Mar 26, 2013, at 4:36 AM, bryan rasmussen <rasmussen.bryan@gmail.com> wrote:

> var x = QUERY;
> 
>  for(var i = 0; i < x.length; i++){
> if(x[i]["field"] == "value"){
>   x[i]["field2" = "value2"];
> }
> }

Sounds like the JavaScript CouchDB API. Or there are similar APIs for Ruby, Python or whatever
other favorite scripting language you have.

—Jens
Mime
View raw message