Michael Reddick wrote:
>
>
>
> Is there a rapid and easy way toknow the driver currently used from
> a DBIx::Class::Schema object?
>
>
>
> You could look at schema->storage->connect_info->[0]
>
> michael
Thanks Mickael fro your reply.
Actually schema->storage->connect_info->[1] looks more appropriate :
>From Dumper
'_connect_info' => [
$VAR1,
'dbi:Pg:dbname=bibliolist',
'user',
'pass',
{
'disable_sth_caching' => '1',
'AutoCommit' => '1',
'RaiseError' => '1'
}
],
Regards
--
-------------------------
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]