Re: [Dbix-class] prefetch across multiple tables

2014-12-20 Thread Peter Rabbitson
On 12/17/2014 07:39 PM, John Stoffel wrote: Hi all, With a bit of nudging, I had a head-smack moment and upgraded to the latest version of DBIx::Class on CPAN, and it now looks like things are working better for me, but I'm still getting some interesting behavior. Before I got errors, now I ca

Re: [Dbix-class] prefetch across multiple tables

2014-12-18 Thread John Stoffel
> "Lasse" == Lasse Makholm writes: Lasse> On Wed, Dec 17, 2014 at 7:39 PM, John Stoffel wrote: Lasse> Hi all, Lasse> With a bit of nudging, I had a head-smack moment and upgraded to the Lasse> latest version of DBIx::Class on CPAN, and it now looks like things Lasse> are

Re: [Dbix-class] prefetch across multiple tables

2014-12-17 Thread Lasse Makholm
On Wed, Dec 17, 2014 at 7:39 PM, John Stoffel wrote: > > > Hi all, > > With a bit of nudging, I had a head-smack moment and upgraded to the > latest version of DBIx::Class on CPAN, and it now looks like things > are working better for me, but I'm still getting some interesting > behavior. > > Befo

Re: [Dbix-class] prefetch across multiple tables

2014-12-17 Thread John Stoffel
Hi all, With a bit of nudging, I had a head-smack moment and upgraded to the latest version of DBIx::Class on CPAN, and it now looks like things are working better for me, but I'm still getting some interesting behavior. Before I got errors, now I can do: > ../bin/dbic-test.pl Emlen DBI

Re: [Dbix-class] prefetch across multiple tables

2014-12-17 Thread John Stoffel
> "Dagfinn" == Dagfinn Ilmari Mannsåker writes: Dagfinn> "John Stoffel" writes: >> Hi, Dagfinn> Hi John, >> I've been pounding my head trying to figure out what I'm doing wrong >> here. I've got a simple three table DB: >> >> Names: full_name, name_id >> has_many: >> Account: account_

Re: [Dbix-class] prefetch across multiple tables

2014-12-17 Thread Dagfinn Ilmari Mannsåker
"John Stoffel" writes: > Hi, Hi John, > I've been pounding my head trying to figure out what I'm doing wrong > here. I've got a simple three table DB: > > Names: full_name, name_id > has_many: > Account: account_id, boxfolder_id, URL, comment > has_one: > Boxfolder: boxfolder_i

[Dbix-class] prefetch across multiple tables

2014-12-16 Thread John Stoffel
Hi, I've been pounding my head trying to figure out what I'm doing wrong here. I've got a simple three table DB: Names: full_name, name_id has_many: Account: account_id, boxfolder_id, URL, comment has_one: Boxfolder: boxfolder_id, volume, folder, range I can do simple SQL queri