couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Eisenhauer <james.eisenha...@gmail.com>
Subject Re: View Help Needed
Date Tue, 22 Nov 2011 15:36:58 GMT
thanks Paul & K.  this helps.

So I would say create 4 views(pass view, fail view, error view, etc..) and
then call each of them and somehow combine the json objects and output
them?  Sounds harder then it should be....but maybe it isn't....

jim

On Mon, Nov 21, 2011 at 10:43 PM, kowsik <kowsik@gmail.com> wrote:

> Try this: http://blog.mudynamics.com/2009/04/03/interactive-couchdb/
>
> Might help you relax. :)
>
> K.
> ---
> http://blitz.io
> @pcapr
>
> On Mon, Nov 21, 2011 at 5:59 PM, James Eisenhauer
> <james.eisenhauer@gmail.com> wrote:
> > So my head is like mush today and I can't seem to make sense of anything.
> > Fairly new CouchDB but I have made a few things and views but finding
> > myself challenged with the right approach to tackle my current needs.
> >
> > So any help or point me at some good resources would be much appreciated.
> >
> > 1. First question are the wiki and the The Definitive Guide the best
> > resources for creating views?
> >
> > 2. Second question my problem.
> >
> > I simplified/changed the model to make it easier to talk about.
> >
> > Sample Document
> >
> > _id
> > BuildName
> > System
> > TestName
> > Verdict
> > DateTime
> >
> > I have many of these documents.  Each time a test is ran it is logged
> with
> > the above information.
> >
> > I would like to output:
> >
> > System|Build Name|# Pass|# Fail|# Errors|Test End (Date Time of last test
> > in Build)|Duration of tests(time between first test of build and last
> test)
> >
> > Sorted newest end dates to oldest
> >
> >
> > I can get this so far:  System|Build Name|# of Tests
> >
> >
> > Any help in how to approach this would be awesome.
> >
> > _best
> >
> > jim
> >
>

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