Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

apiview

exports.apiview = (req, res) => {
  // User the connection
  connection.query('SELECT * FROM user WHERE status = "active"', (err, rows) => {
    res.status(200).send(rows);
  });
}
 
PREVIOUS NEXT
Tagged: #apiview
ADD COMMENT
Topic
Name
4+5 =