当前位置:Gxlcms > 数据库问题 > mongodb - schema中格式时间

mongodb - schema中格式时间

时间:2021-07-01 10:21:17 帮助过:4人阅读

   date:{   type: String,        default: () => moment(new Date()).format(‘YYYY-MM-DD HH:mm:ss‘),    }

mongodb - schema中格式时间

标签:schema   string   格式   bsp   mongodb   时间   ring   mat   div   

人气教程排行