mill-mysql-utils
v1.0.2
Published
操作MySQL的工具类
Downloads
5
Readme
mill-mysql-utils
操作MySQL的工具类
let app=require('../index.js');
app.simpleConfig({
host:'192.168.99.254',
database:'twdrp',
user:'root',
password:'root'
})
app.getQuery("SELECT * from information_schema.`COLUMNS` where table_schema=?",['twdrp'])
.then(function (data) {
console.log(data.rows);
},function (msg) {
console.log(msg.data);
});