mongodb更新当前时间的方法是什么在 MongoDB 中,可以使用 $currentDate 操作符来更新当前时间。$currentDate 可以用于更新一个字段为当前日期或当前时间戳。以下是使用 $currentDate 更新当前时间的方法:更新