itcast-hdj

1.0.0 • Public • Published

封装了一个基于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();

Readme

Keywords

none

Package Sidebar

Install

npm i itcast-hdj

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.11 kB

Total Files

3

Last publish

Collaborators

  • codeami