Toby Corkindale wrote:
> 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
Thanks Toby,

That did the trick!

-- 
-------------------------
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-------------------------

_______________________________________________
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