Re: Problem with has_many and searching
[prev]
[thread]
[next]
[Date index for 2004/10/05]
At 12:25 PM 10/5/2004, Perrin Harkins wrote:
>On Tue, 2004-10-05 at 18:20, John Day wrote:
> > and now I get:
> >
> > 2004/10/05
> > $VAR1 = bless( {
> > '_data' => [
> > {
> > 'id' => '6'
> > },
> > {
> > 'id' => '7'
> > }
> > ],
> > '_place' => 0,
> > '_mapper' => [],
> > '_class' => 'InContact::cDBI::contactdetail'
> > }, 'Class::DBI::Iterator' );
> >
> > So now I know which are the contactdetail records involved, but what I
> > really need is an iterator that will iterate over the contact records.
>
>Uh, that is an iterator. Have you read the ITERATORS section of the
>docs?
Yes, and I don't see anything relevant. I need an iterator.
My problem is I need to figure out how to get an iterator that points to
the 'contact' records, not the contactdetail records.
Thanks for taking the time!
..john
>- Perrin