in reply to Use mysql NOW() fuction from DBIx::Class
You can use NOW() in your UPDATE-clause:
my $item = ...; $item->update({ time_column => \'NOW()', # more columns here });
-- Frank
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Use mysql NOW() fuction from DBIx::Class
by Mutant (Priest) on Jul 16, 2007 at 11:29 UTC |
In Section
Seekers of Perl Wisdom