[Dbix-class] Re: how to specify current timestamps in a ->search operation in DBIx::Class?

Tom Hukins tom at eborcom.com
Thu Jun 25 08:26:29 GMT 2009


On Thu, Jun 25, 2009 at 02:04:24PM +1000, kakimoto at tpg.com.au wrote:
> I have looked through SQL::Abstract and well, got stuck as I don't know
> how to specify "NOW()".
> 
> My question is, how do we do current time comparisons in DBIx::Class'
> where clause filter for a DBIx::Class->search call please? :)

The examples in the FAQ should help:
http://search.cpan.org/~ribasushi/DBIx-Class-0.08107/lib/DBIx/Class/Manual/FAQ.pod#Searching

If they don't, let us know how to improve them to make this easier to
understand.

Tom



More information about the DBIx-Class mailing list