X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage.pm;h=dcc68bc0da6a2460e672e5f85f41ee82faa1edd8;hb=fcb7fcbb6bde5f9a211c62011b3110f07828caec;hp=89c5ef8b63fe4e055091124185c2aec31d0c11f9;hpb=cca282b601b57a8de658986fc3f0d789a72749ea;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage.pm b/lib/DBIx/Class/Storage.pm index 89c5ef8..dcc68bc 100644 --- a/lib/DBIx/Class/Storage.pm +++ b/lib/DBIx/Class/Storage.pm @@ -8,13 +8,12 @@ use mro 'c3'; use DBIx::Class::Exception; use Scalar::Util 'weaken'; -use IO::File; use DBIx::Class::Storage::TxnScopeGuard; use Try::Tiny; use namespace::clean; __PACKAGE__->mk_group_accessors('simple' => qw/debug schema/); -__PACKAGE__->mk_group_accessors('inherited' => 'cursor_class'); +__PACKAGE__->mk_group_accessors('component_class' => 'cursor_class'); __PACKAGE__->cursor_class('DBIx::Class::Cursor'); @@ -338,8 +337,8 @@ sub sql_maker { die "Virtual method!" } =head2 debug -Causes trace information to be emitted on the C object. -(or C if C has not specifically been set). +Causes trace information to be emitted on the L object. +(or C if L has not specifically been set). This is the equivalent to setting L in your shell environment. @@ -410,7 +409,7 @@ Sets a callback to be executed each time a statement is run; takes a sub reference. Callback is executed as $sub->($op, $info) where $op is SELECT/INSERT/UPDATE/DELETE and $info is what would normally be printed. -See L for a better way. +See L for a better way. =cut @@ -507,7 +506,7 @@ sub columns_info_for { die "Virtual method!" } =head2 DBIC_TRACE If C is set then trace information -is produced (as when the L method is set). +is produced (as when the L method is set). If the value is of the form C<1=/path/name> then the trace output is written to the file C.