X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FAutoCast.pm;h=f099bc577133861be675938f58f07c2879d4c8a7;hb=64ae166780d0cb2b9577e506da9b9b240c146d20;hp=d854c164aba1e2e0789962074babc37edbf8d93c;hpb=07a5866eb23a8af07aa040d2fcc8ff58db34cc17;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/AutoCast.pm b/lib/DBIx/Class/Storage/DBI/AutoCast.pm index d854c16..f099bc5 100644 --- a/lib/DBIx/Class/Storage/DBI/AutoCast.pm +++ b/lib/DBIx/Class/Storage/DBI/AutoCast.pm @@ -10,7 +10,7 @@ __PACKAGE__->mk_group_accessors('simple' => 'auto_cast' ); =head1 NAME -DBIx::Class::Storage::DBI::AutoCast +DBIx::Class::Storage::DBI::AutoCast - Storage component for RDBMS requiring explicit placeholder typing =head1 SYNOPSIS @@ -23,13 +23,14 @@ statements with values bound to columns or conditions that are not strings will throw implicit type conversion errors. As long as a column L is -defined, and it resolves to a base RDBMS native type via L as +defined and resolves to a base RDBMS native type via L as defined in your Storage driver, the placeholder for this column will be converted to: CAST(? as $mapped_type) -This option can also be enabled in L as: +This option can also be enabled in +L as: on_connect_call => ['set_auto_cast'] @@ -76,7 +77,7 @@ Used as: on_connect_call => ['set_auto_cast'] -in L. +in L. =cut