palette has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to search in net how to use 'in' clause that we use in the sql select query. I need to use a similar thing using DBIx::Class.
I was trying this
I was trying this
my $obj1 = $schema->resultset('table1')->search( { id => { -in =>[1238772, 1071473] } });
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: using in DBIx::Class
by phaylon (Curate) on Jan 04, 2007 at 12:25 UTC | |
Re: using in DBIx::Class
by tinita (Parson) on Jan 04, 2007 at 12:24 UTC |
Back to
Seekers of Perl Wisdom