Re: DBIx HAVING and COUNT error
Ron Savage <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Rajeev
On 05/09/16 12:07, Rajeev Prasad via dbi-users wrote:
> sorry i didnt understand.
>
> how can this have it?
>
> my $obj_rs = $schema->resultset('itemList')->serach(
> { t_id => { -in => [ $tStr ] }},
> {
> group_by => [ qw(i_id) ],
> HAVING COUNT('t_id') = $tCount
> }
> );
No. It isn't Perl. And it doesn't match the docs for DBIx::Class.
--
Ron Savage - savage.net.au