FAQ
Hi,

I'd like to fetch data from DBIC in the form of a hash (i.e. indexed
by a key, say a PK) instead of in the form of an array, which is the
native structure of a DBIC RS.

In plain DBI, I can do it using selectall_hashref, and specifying the
column to use as the hash key.

Can I do something like this in DBIC? I've looked through the docs and
couldn't find anything, but perhaps there's something very obvious
that is elluding me ...

Cheers,

--
fernan

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupdbix-class @
categoriesperl, catalyst
postedDec 19, '08 at 7:34p
activeDec 19, '08 at 7:59p
posts2
users2
websitedbix-class.org
irc#dbix-class

2 users in discussion

Fernan Aguero: 1 post Ash Berlin: 1 post

People

Translate

site design / logo © 2022 Grokbase