[Dbix-class] Driver name

Toby Corkindale toby.corkindale at strategicdata.com.au
Fri Mar 13 00:42:05 GMT 2009


Emmanuel Quevillon wrote:
> Hi all,
> 
> Is there a rapid and easy way toknow the driver currently used from
> a DBIx::Class::Schema object?

my $schema = My::App::Schema->connect;
print $schema->storage->dbh->{Driver}->{Name};


-Toby



More information about the DBIx-Class mailing list