不要怂,就是干,撸起袖子干!

Commit 00284832 by Chia-liang Kao

warning message when mysql dialect is loaded without mysql module installed

1 parent de43af10
Showing with 4 additions and 1 deletions
var mysql = require("mysql")
var mysql
, Pooling = require('generic-pool')
, Query = require("./query")
, Utils = require("../../utils")
, without = function(arr, elem) { return arr.filter(function(e) { return e != elem }) }
try { mysql = require("mysql") } catch (err) {
console.log("You need to install mysql package manually"); }
module.exports = (function() {
var ConnectorManager = function(sequelize, config) {
this.sequelize = sequelize
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!