[Dbix-class] typo in DBIx::Class::Manual::SchemaIntro.pod
Dave Howorth
dhoworth at mrc-lmb.cam.ac.uk
Thu Jan 26 15:03:30 CET 2006
I think there's a typo:
--- SchemaIntro-orig.pod 2006-01-24 15:12:40.000000000 +0000
+++ SchemaIntro.pod 2006-01-26 13:50:17.667685356 +0000
@@ -189,7 +189,7 @@
We also provide a handy shortcut for doing a C<LIKE> 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<WHERE> clause, like:
Cheers, Dave
More information about the Dbix-class
mailing list