虚拟主机买2年送1年,买3年送2年,续费2年送1年,续费3年送2年 | 主机产品全场西部数码价格8折热销中 申请VIP代理还有更多优惠哦
思朴互联是西部数码10年大代理商,成立于2009年,提供正规发票和合同,服务多家上市公司和上万家中小企业
本站在线支付实时开通、无须联系客服处理,7*12在线售前咨询客服[电话: 0755-26984152 企业QQ: 点击发送消息给对方800003400],7*24小时工单技术售后服务
node-mysql 2.0.0-alpha9 发布

node-mysql 2.0.0-alpha9 发布,改进内容包括:

    Add query to pool to execute queries directly using the pool
    Pool option to set queue limit
    Pool sends 'connection' event when it opens a new connection
    Added stringifyObjects option to treat input as strings rather than objects (#501)
    Support for poolClusters
    Datetime improvements
    Bug fixes

node.js mysql 驱动库,示例代码:
01    var mysql      = require('mysql');
02    var connection = mysql.createConnection({
03      host     : 'localhost',
04      user     : 'me',
05      password : 'secret',
06    });
07     
08    connection.connect();
09     
10    connection.query('SELECT 1 + 1 AS solution', function(err, rows, fields) {
11      if (err) throw err;
12     
13      console.log('The solution is: ', rows[0].solution);
14    });
15     
16    connection.end();

思朴互联-西部数码代理站

2013-8-28


spkjymztjkxt20180428999923233231