in reply to SQL function from DBIC
See the "Arbitrary SQL through a custom ResultSource" section in DBIx::Class::Manual::Cookbook
Also, I think (untested, but appears so from grepping distro) that you can do:
Also, I think (untested, but appears so from grepping distro) that you can do:
my $dbh = $myobj->db_Main; use Data::Dumper; print Dumper $dbh->selectall_arrayref( 'select enum_range(typename); +', {Slice=>{}}, () );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SQL function from DBIC
by jasonk (Parson) on Dec 07, 2008 at 23:22 UTC |
In Section
Seekers of Perl Wisdom