Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mention the 'connected' DBI Callback from constructor Pod #20

Merged
merged 1 commit into from almost 2 years ago

2 participants

Randy Stauner David E. Wheeler
Randy Stauner

to avoid having more issues like #8 and #19 opened.

:-)

David E. Wheeler theory closed this May 29, 2012
David E. Wheeler theory reopened this May 29, 2012
David E. Wheeler theory merged commit 6e0daca into from May 29, 2012
David E. Wheeler theory closed this May 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 16, 2012
Randy Stauner Mention the 'connected' DBI Callback from constructor Pod
to avoid having more issues like gh-8 and gh-19 opened.
3e8b520
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  lib/DBIx/Connector.pm
4  lib/DBIx/Connector.pm
@@ -640,6 +640,10 @@ for the drivers for details:
640 640
 
641 641
 =back
642 642
 
  643
+If you would like to execute custom logic each time a new connection to the
  644
+database is made you can pass a sub as the C<connected> key to the C<Callbacks>
  645
+parameter.  See L<DBI/Callbacks> for usage and other available callbacks.
  646
+
643 647
 =head2 Class Method
644 648
 
645 649
 =head3 C<connect>
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.