Skip to content
Browse files

Mention the 'connected' DBI Callback from constructor Pod

to avoid having more issues like gh-8 and gh-19 opened.
  • Loading branch information...
1 parent cdf6385 commit 3e8b5209eb49402559bed9caa4da6fa63ba05d0b @rwstauner rwstauner committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/DBIx/Connector.pm
View
4 lib/DBIx/Connector.pm
@@ -640,6 +640,10 @@ for the drivers for details:
=back
+If you would like to execute custom logic each time a new connection to the
+database is made you can pass a sub as the C<connected> key to the C<Callbacks>
+parameter. See L<DBI/Callbacks> for usage and other available callbacks.
+
=head2 Class Method
=head3 C<connect>

0 comments on commit 3e8b520

Please sign in to comment.
Something went wrong with that request. Please try again.