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
Raw Permalink Normal View History

2014-09-24 17:56:53 -04:00
var mysql = require('../test/common').createConnection();
mysql.query("select * from foos limit 10", function(err, rows, fields) {
console.log(rows, fields);
});