mohanprasad wrote:
> Hi,
> 
> I am trying to prepare the below where clause
> where not(status ='deleted' and created < $timestamp)
> 

SQL::Abstract 1.58 just went to cpan (still in incoming).
It allows you to do:

({ -not_bool => {
    status => 'deleted',
    created => { '<', $timestamp },
}})




_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to