perl5-dbi/dbi

(fetch|select)all_arrayref_hashref

torbjorn opened this issue · 0 comments

There seems to be only two variants of slurp_all type of operations, either:

  1. fetch an array ref with row as arrayref or..
  2. fetch a hashref, with key column you specify , with row as hashref

None of these seems ideal, the first option doesn't preserve column names, and the other one doesn't preserve order. The obviuos structure for this type of slurp seems to be an array ref with row as hashref.. unless its been proposed before and rejected, I'd like to request it now. I have no clue what to name it though.