[Bast-commits] r5701 - DBIx-Class/0.08/trunk/t/prefetch

robkinyon at dev.catalyst.perl.org robkinyon at dev.catalyst.perl.org
Fri Mar 6 21:18:09 GMT 2009


Author: robkinyon
Date: 2009-03-06 21:18:09 +0000 (Fri, 06 Mar 2009)
New Revision: 5701

Modified:
   DBIx-Class/0.08/trunk/t/prefetch/multiple_hasmany.t
Log:
Added a little more verbiage to explain how collapsing from HRI-form should happen

Modified: DBIx-Class/0.08/trunk/t/prefetch/multiple_hasmany.t
===================================================================
--- DBIx-Class/0.08/trunk/t/prefetch/multiple_hasmany.t	2009-03-06 19:57:07 UTC (rev 5700)
+++ DBIx-Class/0.08/trunk/t/prefetch/multiple_hasmany.t	2009-03-06 21:18:09 UTC (rev 5701)
@@ -164,7 +164,9 @@
     t3 => { col1 => 5, col2 => 6 },
   };
 At this point, find the stuff that's different is easy enough to do and slotting
-things into the right spot is, likewise, pretty straightforward.
+things into the right spot is, likewise, pretty straightforward. Instead of
+storing things in a AoH, store them in a HoH keyed on the PKs of the the table,
+then convert to an AoH after all collapsing is done.
 
 This implies that the collapse attribute can probably disappear or, at the
 least, be turned into a boolean (which is how it's used in every other place).




More information about the Bast-commits mailing list