X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FAutoCast.pm;h=850015b6b15a1b521d99e6f405923e4a0eaca068;hp=d854c164aba1e2e0789962074babc37edbf8d93c;hb=26283ee38f220f6c6bae720ea5a189c9c0f47f6f;hpb=48a76fcfd023d2149f6980bd9a7bdc4937dbc4fc diff --git a/lib/DBIx/Class/Storage/DBI/AutoCast.pm b/lib/DBIx/Class/Storage/DBI/AutoCast.pm index d854c16..850015b 100644 --- a/lib/DBIx/Class/Storage/DBI/AutoCast.pm +++ b/lib/DBIx/Class/Storage/DBI/AutoCast.pm @@ -29,10 +29,6 @@ converted to: CAST(? as $mapped_type) -This option can also be enabled in L as: - - on_connect_call => ['set_auto_cast'] - =cut sub _prep_for_execute { @@ -64,26 +60,6 @@ sub _prep_for_execute { return ($sql, $bind); } -=head2 connect_call_set_auto_cast - -Executes: - - $schema->storage->auto_cast(1); - -on connection. - -Used as: - - on_connect_call => ['set_auto_cast'] - -in L. - -=cut - -sub connect_call_set_auto_cast { - my $self = shift; - $self->auto_cast(1); -} =head1 AUTHOR