[Catalyst] ask for help on table with 2 similar columns

Rodrigo rodrigolive at gmail.com
Thu Mar 18 15:39:25 GMT 2010

On Thu, Mar 18, 2010 at 2:57 PM, nhyda <nhydanhyda at gmail.com> wrote:

> Thank you anyway.
> I think I figure it out, it is just matter in what order you put all the {
> [ (.

Do you really need to create the has_many relationship and do a join? I
would just search in table 2 like this:

my $rs =3D $c->model('DB::Table2')->search({ -or =3D> [ left=3D>'B', right=
=3D>'B' ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100318/2223b=

More information about the Catalyst mailing list