From: zby Date: Fri, 15 May 2009 14:04:32 +0000 (+0000) Subject: docs fix X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e24030dfa5f8035038af8c0b4ca40299fa52699c;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate docs fix --- diff --git a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm index 69f46ef..137bf7d 100644 --- a/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm +++ b/lib/DBIx/Class/ResultSet/RecursiveUpdate.pm @@ -306,14 +306,16 @@ This document describes DBIx::Class::ResultSet::RecursiveUpdate version 0.006 The functional interface: my $new_item = DBIx::Class::ResultSet::RecursiveUpdate::Functions::recursive_update({ - id => 1, - owned_dvds => [ - { - title => 'One Flew Over the Cuckoo's Nest' - } - ] - } - ); + resultset => $schema->resultset( 'Dvd' ), + updates => { + id => 1, + owned_dvds => [ + { + title => 'One Flew Over the Cuckoo's Nest' + } + ] + } + }); As ResultSet subclass: diff --git a/t/var/dvdzbr.db b/t/var/dvdzbr.db index f4cfcce..69dce28 100644 Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ