Il giorno mer, 06/06/2007 alle 18.00 -0400, John Goulah ha scritto:
> 
> Its not that I didn't like the answers or said they were "fake", its
> that they were just reiterating something I had already stated so they
> were quite obvious.  If you read my post I did say: "this makes some
> sense since search may return many rows while find is designed to find
> one row."  
> 

Hmmmm well, as far as I'm concerned, DBIC does the "right thing"(tm). I
simply hate interfaces such as jdbc returning a result set containing
only one element. With this approach, I'm obliged to add a call to some
methods to extract the (unique) record contained in the record set. I
strongly oppose the extra work needed by that: truly a perl programmer
I'm really lazy (well, I'm lazy, whenever I'm a real perl programmer is
to be discussed. But I'm lazy:)). 
Moreover, it seems to me that the answers where to the point: if you
want a resultset use search. And let people like me use find :)

-- 
Leo "TheHobbit" Cacciari


Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to