I need to run plain SQL with DBIx::Class:
select proc_name();
Is there a way to do this with DBIx::Class
?
UPD
I know I can do different connection with DBI
and then:
$dbh->do( 'select proc_name();' )
But I need to run it within same transaction
UPD
FAQ does not cover that
UPD
For downvoters: I know DBIx::Class
is not for plain SQL. But from one side sometimes query is too complex to rewrite it as DBIx::Class
understand, from the other side we need functionality of DBIx::Class