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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.