📜  mongodb created_at updated_at - 任何代码示例

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

代码示例2
var thingSchema = new Schema({..}, { timestamps: { createdAt: 'created_at' } });