[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-users
Subject:    Re: DBIx HAVING and COUNT error
From:       Ron Savage <ron () savage ! net ! au>
Date:       2016-09-05 2:19:20
Message-ID: 2044a930-0c61-6cd7-10eb-0f76df9bffaa () savage ! net ! au
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic