[Dbix-class] Re: Prefetch and join on different tables
Paula
mpmagarinos at gmail.com
Mon Jan 21 20:39:53 GMT 2013
2013/1/21 Dagfinn Ilmari Manns=E5ker <ilmari at ilmari.org>
> ->search($where, { %{$attr}, prefetch =3D> 'mc', join =3D> 'mt' });
I have just tried that, and again I get:
[error] DBIx::Class::Row::get_column(): No such column 'h1'
It seems the order is important, the last argument (prefetch or join) is
the only one that is executed...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20130121/8d5=
5dea3/attachment.htm
More information about the DBIx-Class
mailing list