MySQL请求更新时间戳不想更新为什么?怎么了? 我尝试了两种方法
方法1
mysqlConnection.query('UPDATE `games` SET `starttime`= current_timestamp() WHERE `id` = \'' + current_game + '\'', function(err, row, fields) {});
方法2
mysqlConnection.query('UPDATE `games` SET `starttime`=UNIX_TIMESTAMP() WHERE `id` = \'' + current_game + '\'', function(err, row, fields) {});