dmhsq-mysql-pool:nodejs环境下快速连接操作mysql连接池版本

时间:2021-03-21 20:01:05
【文件属性】:
文件名称:dmhsq-mysql-pool:nodejs环境下快速连接操作mysql连接池版本
文件大小:5KB
文件格式:ZIP
更新时间:2021-03-21 20:01:05
JavaScript dmhsq-mysql-pool nodejs环境下快速连接操作mysql数据连接池版本 可用于腾讯云SCF以及云开发环境 安装 npm install dmhsq-mysql-pool 使用示例 快速操作mysql错误处理尚未完善部分错误参考mysql错误 返回的预期承诺对象 所有操作结束末尾必须携带get() 例如collection.sort({})。get()collection.del({})。get()collection.add({})。get() 所有操作除了get()必须末尾调用都可以不分先后调用 比如collection.sort({})。where()。get()可以写出collection.where()。sort({})。get() 约会资源 const database = require ( "dmhsq-mysql-pool" ) 连接数据库 let d
【文件预览】:
dmhsq-mysql-pool-main
----README.md(7KB)
----index.js(6KB)
----package.json(493B)

网友评论