云函数无服务器数据库节点SDK 概述 为简化用户使用云函数何时连接DB和管理链接池的操作,利用云函数的特性,提供便捷高效又接近MySQL库的操作封装接口 用法 /* 环境变量(示例): process.env['DB_TESTDB2_HOST'] = 192.168.1.1 process.env['DB_TESTDB2_PORT'] = 3306 process.env['DB_TESTDB2_USER'] = ycp424c process.env['DB_TESTDB2_PASSWORD'] = pwd123321123 process.env['DB_TESTDB2_DATABASE'