随笔分类 -  express(node.js)

express连接数据库 读取表
摘要:connection.query 查询表 1.依赖 const mysql = require('mysql'); const mysql = require('mysql'); 连接数据库代码 var connection = mysql.createPool({ //创建mysql实例 host 阅读全文

posted @ 2019-09-02 15:17 chenyi4 阅读(641) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示