Node JS Express Mysql, can not get all users

后端 未结 0 2015
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-06 02:11

I can\'t get all users, but if write manually it works.

class User {

static getAll(result) {
        let sql = `SELECT * FROM users`;

        sql.query(sql, (er         


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