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

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to