From: Jess Robinson Date: Sun, 25 Jun 2006 13:12:23 +0000 (+0000) Subject: Improve on_connect_do docs X-Git-Tag: v0.07002~75^2~81 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f154c674370a2d2e67180f076c591f499352d49;p=dbsrgits%2FDBIx-Class.git Improve on_connect_do docs --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index 247a989..dfbb492 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -319,7 +319,10 @@ C, C, and C. Examples: =head2 on_connect_do -Executes the sql statements given as a listref on every db connect. + $schema->storage->on_connect_do(['PRAGMA synchronous = OFF']); + +Call this after C<< $schema->connect >> to have the sql statements +given executed on every db connect. This option can also be set via L.