"Avis, Ed" <[EMAIL PROTECTED]> wrote:

> I should have made clear that this is a query returning two rows:
  [ ... ]
> The current DBI behaviour is to throw away one of those rows, but it's
> not documented which.

But it is documented.

The selectall_hashref() documentation refers to fetchall_hashref().
And the fetchall_hashref() documentation has the following paragraph:

|  The fetchall_hashref() method is normally used only where the key
|  fields values for each row are unique.  If multiple rows are returned
|  with the same values for the key fields then later rows overwrite
|  earlier ones.


Hans

-- 
Hans Ranke                                                  [EMAIL PROTECTED]
Lehrstuhl fuer                                             Institute for
Entwurfsautomatisierung                     Electronic Design Automation
              Technische Universitaet Muenchen, Germany                
Phone +49 89 289 23660                              Fax +49 89 289 63666


Reply via email to