📜  apiview - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:22.194000             🧑  作者: Mango

代码示例1
exports.apiview = (req, res) => {
  // User the connection
  connection.query('SELECT * FROM user WHERE status = "active"', (err, rows) => {
    res.status(200).send(rows);
  });
}