As per the docs, I can do this for a date:
new Sch开发者_运维知识库ema({
date: { type: Date, default: Date.now }
})
But what if I need time?
Looks like that does timestamps too!
As per the docs, I can do this for a date:
new Sch开发者_运维知识库ema({
date: { type: Date, default: Date.now }
})
But what if I need time?
Looks like that does timestamps too!
精彩评论