摘要:
查所有数据 select * from table; 查询带条件 select * from table where 1=1; 查询分组 select field from table group by field; 查询嵌套子查询 select * from (select * from tabl 阅读全文
摘要:
因业务需求,自己封装了一些mysql方法,有不足之处请尽管提 安装 npm install mysql 使用 const mysql = require("mysql");function handleError(){ getConn() } function getConn(){ var db = 阅读全文