docs fix
authorzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Fri, 15 May 2009 14:04:32 +0000 (14:04 +0000)
committerzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Fri, 15 May 2009 14:04:32 +0000 (14:04 +0000)
lib/DBIx/Class/ResultSet/RecursiveUpdate.pm
t/var/dvdzbr.db

index 69f46ef2aeba79ec7993f0842834da2f5b9a5d98..137bf7d217d9f1f049f373aa7fbccc588d3b8e04 100644 (file)
@@ -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:
index f4cfcce5bbfc06a298da4aaafd722038c40e2c03..69dce2853144acf2dc3dccf5e627f190f9f5dc23 100644 (file)
Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ
This page took 0.023094 seconds and 4 git commands to generate.