Sequelize Model.destory() is not a function

前端 未结 0 1282
南笙
南笙 2021-02-01 03:01
module.exports = async (_, args, {currentUser, db}) => {
    if (!currentUser) {
        throw new Error(\'Not authenicated!\')
    }
    await db.Fixtures.destory({}         


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