2006/8/14, Matt S Trout <[EMAIL PROTECTED]>:
Torsten Seemann wrote:
>> 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! :-)
Sure. I've always been rather fond of the Tangram query syntax. Were it not
GPL-only I'd have had a go at porting Tangram::Expr straight acrosss before now.
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
