9
由于每docs,我能为约会做:如何将当前时间戳放在Mongoose模式中?
new Schema({
date: { type: Date, default: Date.now }
})
但是,如果我需要什么时候?
由于每docs,我能为约会做:如何将当前时间戳放在Mongoose模式中?
new Schema({
date: { type: Date, default: Date.now }
})
但是,如果我需要什么时候?
看起来像那样做时间戳呢!