1.0.0 • Published 3 years ago
itcast-hdj v1.0.0
封装了一个基于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();
1.0.0
3 years ago