# mill-mysql-utils **Repository Path**: mill_teacher/mill-mysql-utils ## Basic Information - **Project Name**: mill-mysql-utils - **Description**: mysql for nodejs - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-14 - **Last Updated**: 2021-12-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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); }); ```