[Dbix-class] How about a reverse parser script/utility? (Was: Query Building Help)

Torsten Seemann torsten.seemann at infotech.monash.edu.au
Mon Aug 14 06:18:44 CEST 2006


> Yes, it would be possible. But I'd much rather provide a query syntax for DBIC 
> that more closely mirrors the SQL syntax. My two current thoughts on this are 
> via operator overloading -
> 
> my $this_millenium = FROM $cds_rs WHERE { $_->year >= 2000 & $_->tracks->count 
>  > 10 };

Me smells Tangram! :-)

--Torst




More information about the Dbix-class mailing list