Modify returned data from findOne function

后端 未结 0 1914
清歌不尽
清歌不尽 2020-11-28 23:47

I created functions for get config with db. I use a sequelize on my server.

async function getConfig(country) {
    return await db.config.findOne({
        w         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题