couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Branca <chewbra...@gmail.com>
Subject Re: couchdb automation tool
Date Wed, 27 Mar 2013 22:44:59 GMT
This popped up on the mailing list recently:
https://github.com/datahogs/couch_normalizer. I haven't played with it yet,
but it looks quite interesting.


-Russell


On Wed, Mar 27, 2013 at 3:02 PM, Ryan Ramage <ryan.ramage@gmail.com> wrote:

> There is this couchapp for updating docs:
>
> http://harthur.github.com/costco/
>
> It lets you apply a function to update the data against all matching docs.
> Its probably not fast, nor efficient, but it works fairly well for what it
> does.
>
>
>
>
> On Wed, Mar 27, 2013 at 3:47 PM, matt j. sorenson <matt@sorensonbros.net
> >wrote:
>
> > this sounds cool... what if you could just pop up a terminal and type:
> >
> > $ cash money read-my-mind --dry-run
> >
> > where 'cash' stands for the [c]ouch [a]utomation [sh]ell, of course!
> >
> > --
> > *matt j. sorenson*
> > mobile: 320-424-0309
> >
> > phone calls always welcome :)
> >
> >
> > On Tue, Mar 26, 2013 at 8:38 PM, Jens Alfke <jens@couchbase.com> wrote:
> >
> > >
> > > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message