<?xml version="1.0" encoding="windows-1252"?>
<node id="626789" title="Re: Use mysql NOW() fuction from DBIx::Class" created="2007-07-16 03:03:45" updated="2007-07-15 23:03:45">
<type id="11">
note</type>
<author id="341073">
haoess</author>
<data>
<field name="doctext">
&lt;p&gt;You can use &lt;code&gt;NOW()&lt;/code&gt; in your UPDATE-clause:&lt;/p&gt;

&lt;code&gt;
my $item = ...;

$item-&gt;update({
  time_column =&gt; \'NOW()',
  # more columns here
});
&lt;/code&gt;

&lt;p&gt;-- Frank&lt;/p&gt;</field>
<field name="root_node">
626756</field>
<field name="parent_node">
626756</field>
</data>
</node>
