1 var async = require("async");
3 module.exports = function(param)
5 this.query = function(query,param,callback)
11 function(client,next){
12 client.query(query,param,function(err,result){
13 next(err,result,client);
16 function(result,client,next){
22 var generic_pool = require("generic-pool");
23 var mysql = require("mysql");
24 pool = generic_pool.Pool({
27 create : function(cb){
28 var connection = mysql.createConnection(param);
29 connection.connect(function(err){
33 destroy : function(db){