[Dbix-class] Fwd: Simple query makes SQL::Abstract puke

Moritz Onken onken at houseofdesign.de
Thu Oct 8 12:31:28 GMT 2009


Am 08.10.2009 um 14:18 schrieb Ido Perlmuter:

>
>
> ---------- Forwarded message ----------
> From: Ido Perlmuter <ido at ido50.net>
> Date: Wed, Oct 7, 2009 at 6:40 PM
> Subject: Simple query makes SQL::Abstract puke
> To: dbix-class at lists.scsys.co.uk
>
>
> Hi.
>
> For some reason, the following query has been constantly causing an  
> SQL::Abstract error message.
>
> Query: $c->model('DB::Stuff')->single({ stage_id => $stage->id, num  
> => 0, foreign_id => $foreign->id, type => 0 });

Can you post the output of
use Data::Dumper; print Dumper { stage_id => $stage->id, num => 0,  
foreign_id => $foreign->id, type => 0 };

cheers, moritz



More information about the DBIx-Class mailing list