On Mon, 2006-07-10 at 14:20 +0200, Matija Grabnar wrote:
> my $sch = $schema->resultset('My::Schema::Orders');
> my $o = 
> $sch->search({sessionid=>'7b90a03af16a72787e17bd183d9ccf33'})->single;

fetch the record...

> $o->created('2006-07-10 12:10:11');

change one column in the in-memory copy of the row

You now need to do
  $o->update;

to push any changes to the db...

        Nigel.

-- 
[ Nigel Metheringham           [EMAIL PROTECTED] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


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

Reply via email to