itcast-hdj
v1.0.0
Published
封装了一个基于mysql的 链接数据库,执行sql语句的方法
Downloads
3
Readme
封装了一个基于mysql的 链接数据库,执行sql语句的方法
示例代码:
const dbObj = require('itcast-hdj'); dbObj.dbFn('SELECT * FROM student', { host: 'localhost', port: 3306, user: 'root', password: 'root', database: 'practice' },function (res) { console.log(res); }); dbObj.yingyingying();
