From: Matt S Trout Date: Fri, 10 Mar 2006 19:42:18 +0000 (+0000) Subject: doc fix£ X-Git-Tag: v0.06000~60^2~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5e2c4626a7bea2743586ae3bbc78578627e8816;p=dbsrgits%2FDBIx-Class.git doc fix£ --- diff --git a/lib/DBIx/Class/Manual/SchemaIntro.pod b/lib/DBIx/Class/Manual/SchemaIntro.pod index 996d142..11936b2 100644 --- a/lib/DBIx/Class/Manual/SchemaIntro.pod +++ b/lib/DBIx/Class/Manual/SchemaIntro.pod @@ -147,11 +147,11 @@ Likewise, you can remove it from the database like this: $new_album->delete; -You can also remove records without or retrieving first. This -operation takes the same kind of arguments as a search. +You can also remove records without retrieving them first, by calling +delete directly on a ResultSet object. # Delete all of Falco's albums - $schema->resultset('Album')->delete({ artist => 'Falco' }); + $schema->resultset('Album')->search({ artist => 'Falco' })->delete; =head2 Finding your objects