From e24030dfa5f8035038af8c0b4ca40299fa52699c Mon Sep 17 00:00:00 2001 From: zby Date: Fri, 15 May 2009 14:04:32 +0000 Subject: [PATCH] docs fix --- lib/DBIx/Class/ResultSet/RecursiveUpdate.pm | 18 ++++++++++-------- t/var/dvdzbr.db | Bin 37888 -> 37888 bytes 2 files changed, 10 insertions(+), 8 deletions(-) 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 f4cfcce5bbfc06a298da4aaafd722038c40e2c03..69dce2853144acf2dc3dccf5e627f190f9f5dc23 100644 GIT binary patch delta 433 zcmZoz!PKyVX@a!iH3k&G;j&TZAhWOwP*Aeh4oGtLngL1XUY$)Whgli5ChtqS%BVeg zACunX6I_mrI-9w;l|>nKC+jH`GU`oUpy0!(KXGFuvv04#WKTtZM#IT76{}f|*u?E6 zC)cM*2&I&zlq9Cd8$xLA$X?^g^OeLVM=H58ngCfbjHZ+SD0MKJZEjVrwwaXDKDj+X znmN7Ke6n0gCZok<{?r^s%gHsVd5l(*U#IpnT2HP{(`U4qygIFj(RQ+2`T|C~$q69} zlkcZ1@^As2&B*+V0f;0g^CZ+v-c+hSxv#v4rID*wZSozn?#C$Fu8NWI!4FIcBbu2y-t%4PBdn8o;VLh delta 430 zcmaJ*-77}*zwCW#dJxNt!}ZbU2P?0X_Z8)}LrA$~E>)voMP zDYflhEjKRQx>NoD|AAcil`E9Dr{{fod*A1M4sV6STj9#pd{OtK^qz80O>7D9p~5;i z8uW*4R!g6Hc!5eRpGswc^IthLCTPY+Nl<8$NxfWUn6kb0a31eMXSIJ=)xMwm`kL8