Is it possible to have a "Time" Schema in Mongoose?
I know I can 开发者_高级运维do Date
. but what about Time?
Are you just trying to get created at/updated at timestamps? If so you can use mongoose-types to add that as a plugin. Or you could use a mixed type I suppose.
精彩评论