'count rows table react nodejs mysql
salut, please how to display rows in react ( how get rows in reactjs) ?
var sql = 'SELECT count(*) FROM um WHERE nb_com=?' db.query(sql, [num_com], function(err, rows, fields) { if (err) throw err; console.log('Query result: ', rows);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
