Wan wrote:
> I want to submit a SQL sentence to MySQL  server like this
> 
> UPDATE Config SET Value = '3' WHERE Name = 'hah'
> 
> I don't know how to how to use the *update* method, DBIx::Class::Row and 
> DBIx::Class::ResultSet are not details, I can't get useful information.
> 
> Thanks for any help!
> 

$config->value(3);
$config->update;

_______________________________________________
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