From: David Kamholz Date: Tue, 7 Feb 2006 22:48:54 +0000 (+0000) Subject: add usage example X-Git-Tag: v0.05005~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=230b6ca0fee7689c30881f1ebad6f279cfd8be0d;p=dbsrgits%2FDBIx-Class.git add usage example --- diff --git a/lib/DBIx/Class/ResultSource/Table/Cached.pm b/lib/DBIx/Class/ResultSource/Table/Cached.pm index ebf40b4..4b43a69 100644 --- a/lib/DBIx/Class/ResultSource/Table/Cached.pm +++ b/lib/DBIx/Class/ResultSource/Table/Cached.pm @@ -22,6 +22,11 @@ __END__ DBIx::Class::ResultSource::Table::Cached - Table object that caches its own resultset +=head1 SYNOPSIS + + # in a table class or base of table classes (_before_ you call ->table) + __PACKAGE__->table_class('DBIx::Class::ResultSource::Table::Cached'); + =head1 DESCRIPTION This is a modified version of L that caches