From: Will Hawes Date: Thu, 26 Jan 2006 15:22:13 +0000 (+0000) Subject: fix typo in search_like example X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c31f8021237e67033e70a9d3839acac512b8c251;p=dbsrgits%2FDBIx-Class-Historic.git fix typo in search_like example --- diff --git a/lib/DBIx/Class/Manual/SchemaIntro.pod b/lib/DBIx/Class/Manual/SchemaIntro.pod index 3ffaf85..834c1b3 100644 --- a/lib/DBIx/Class/Manual/SchemaIntro.pod +++ b/lib/DBIx/Class/Manual/SchemaIntro.pod @@ -193,7 +193,7 @@ rows: We also provide a handy shortcut for doing a C search: # Find albums whose artist starts with 'Jimi' - my $rs = MyApp::DB::Album->search_like({ artist => 'Jimi%' }); + my $rs = $schema->resultset('Album')->search_like({ artist => 'Jimi%' }); Or you can provide your own handmade C clause, like: