Re: [CDBI] Paging through Results using Class::DBI::Sweet

[prev] [thread] [next] [Date index for 2006/02/12]

From: Bill Moseley
Subject: Re: [CDBI] Paging through Results using Class::DBI::Sweet
Date: 14:51 on 12 Feb 2006
On Sun, Feb 12, 2006 at 07:41:23AM -0500, Dave Mabe wrote:
> How do you loop through the results after you call ->page like in the
> example in the CDBI::Sweet docs?

See 
    perldoc Class::DBI::Iterator
    perldoc Data::Page

> >From the Class::DBI::Sweet docs:
> 
>  __PACKAGE__->set_sql( 'count_by_cd', <<'');
>         SELECT      __ESSENTIAL(me)__, COUNT
> <http://stockcharts.com/def/servlet/SC.web?c=COUNT>(cds.cdid) as
> cd_count
>         FROM <http://stockcharts.com/def/servlet/SC.web?c=FROM>;       

What happened there?


        -- 
        Bill Moseley
moseley@xxxx.xxx


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

Re: [CDBI] Paging through Results using Class::DBI::Sweet
Bill Moseley 14:51 on 12 Feb 2006

Generated at 10:41 on 18 Feb 2006 by mariachi v0.52