You could pass a sub instead of plain connection variable and do whatever you want there.
$schema= My::Schema->connect(sub{ # Prep/config load. my $dbh = DBI->connect... # Do your logging. return $dbh; }
I'm not sure it's the easiest/sanest way. It feels like the wrong place to do it to me. Perhaps you want some permutation of DBI->trace instead.
In reply to Re: DBIx::Class connection
by Your Mother
in thread DBIx::Class connection
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |