[Bast-commits] r5027 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Thu Oct 30 15:26:37 GMT 2008


Author: ribasushi
Date: 2008-10-30 15:26:36 +0000 (Thu, 30 Oct 2008)
New Revision: 5027

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
Log:
Fix some lapses in Storage::DBI pod

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm	2008-10-30 14:56:58 UTC (rev 5026)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI.pm	2008-10-30 15:26:36 UTC (rev 5027)
@@ -359,11 +359,11 @@
 optionally followed by L<extra attributes|/DBIx::Class specific connection attributes>
 recognized by DBIx::Class:
 
-  $connect_info_args = [ $dsn, $user, $pass, \%dbi_attributes, \%extra_attributes ];
+  $connect_info_args = [ $dsn, $user, $password, \%dbi_attributes, \%extra_attributes ];
 
 =item *
 
-A lone code reference which returns a connected L<DBI database handle|DBI/connect>
+A single code reference which returns a connected L<DBI database handle|DBI/connect>
 optinally followed by L<extra attributes|/DBIx::Class specific connection attributes>
 recognized by DBIx::Class:
 
@@ -371,12 +371,12 @@
 
 =item *
 
-A lone hashref with all the attributes and the dsn/user/pass mixed together:
+A single hashref with all the attributes and the dsn/user/password mixed together:
 
   $connect_info_args = [{
     dsn => $dsn,
     user => $user,
-    pass => $pass,
+    password => $pass,
     %dbi_attributes,
     %extra_attributes,
   }];
@@ -497,6 +497,11 @@
 transactions, making it possible to recover from failure in the inner
 transaction without having to abort all outer transactions.
 
+=item cursor_class
+
+Use this argument to supply a cursor class other than the default
+L<DBIx::Class::Storage::DBI::Cursor>.
+
 =back
 
 Some real-life examples of arguments to L</connect_info> and L<DBIx::Class::Schema/connect>
@@ -581,7 +586,7 @@
       unshift @args, delete $attrs{$_};
     }
   }
-  else {                # otherwise assume dsn/user/pass + \%attrs + \%extra_attrs
+  else {                # otherwise assume dsn/user/password + \%attrs + \%extra_attrs
     %attrs = (
       % { $args[3] || {} },
       % { $args[4] || {} },




More information about the Bast-commits mailing list