[Dbix-class] What should DBIC objects stringify to?
John Napiorkowski
jjn1056 at yahoo.com
Wed May 3 22:47:32 CEST 2006
Yes this should work but ->find implictly calls ->all
afterward I believe, which returns an array of objects
instead of a resultset, which might not be what you
are looking for.
--john
--- phaylon <phaylon at dunkelheit.at> wrote:
> Alan Humphrey said:
> >
> > Ah. Thanks for setting me straight. And, in
> terms of the original query
> >
> > ->find( {pk1 => 'someval', pk2 => 'someotherval'})
> >
> > should work for finding a row with a multi-part
> key. Yes?
>
> Haven't used that one in a while, but the docs seem
> to say you're right :)
>
>
> p
>
>
> _______________________________________________
> 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/
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Dbix-class
mailing list