[Dbix-class] same column for more times

Matt S Trout dbix-class at trout.me.uk
Mon Feb 5 15:30:11 GMT 2007


On 5 Feb 2007, at 15:17, Octavian Rasnita wrote:

> Hi all,
>
> I have tried to use the same column for more times in the condition  
> part of the query, but it is used only once.
>
> I want to do something like:
>
> select count(*) from table_name where date>=? and date<=?;
>
> Can you also tell me how to use
>
> and date between ? and ?
>
> Or even better, please tell me in which of the POD docs to search  
> for details about these.
> I have searched in more POD docs after some keywords, but I  
> couldn't find anything.

SQL::Abstract
-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Dbix-class mailing list