| Issue 51: | resultset hashmaps | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Be nice to have a convenience wrapper for:
my $items = $dbrh->items->where( %where );
my @maps = ();
while (my $item = $items->next) {
push @maps, $item->hashmap( 'item_id order quantity status.name' );
}
return \@maps;
so that one could simply:
return $dbrh->items->where( %where )->hashmaps( 'item_id order quantity
status.name' );
|