Merge 'sybase' into 'trunk'
[dbsrgits/DBIx-Class-Historic.git] / examples / Schema / testdb.pl
index 9ca3e39..b31773d 100644 (file)
@@ -26,6 +26,7 @@ sub get_tracks_by_cd {
         },
         {
             join     => [qw/ cd /],
+            prefetch => [qw/ cd /]
         }
     );
     while (my $track = $rs->next) {
@@ -78,6 +79,7 @@ sub get_cds_by_artist {
         },
         {
             join     => [qw/ artist /],
+            prefetch => [qw/ artist /]
         }
     );
     while (my $cd = $rs->next) {