2016-11-14 53 views
-2

Model.query(「SELECT id,name,description,user_type,CAST(COLUMN_JSON(permissions)as char)as permissions,deleted,created_at,updated_at FROM roles WHERE id =」+ req.params.id.replace(/(['\「])/ g,'\ $ 1')+」AND deleted = false「,{type:Model.Sequelize.QueryTypes.SELECT},{type:Model.Sequelize .QueryTypes.SELECT},function(err,data){} ////我在這條線上出現了什麼問題????未處理的拒絕類型錯誤:回調不是函數

回答

相關問題