This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/node_modules/mysql2/examples/simple-select.js

6 lines
167 B
JavaScript

var mysql = require('../test/common').createConnection();
mysql.query("select * from foos limit 10", function(err, rows, fields) {
console.log(rows, fields);
});