📜  获取 mongoose 中的最新记录 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:03.651000             🧑  作者: Mango

代码示例1
Tweet.findOne().sort({created_at: -1}).exec(function(err, post) { ... });