数据库添加索引;update
This commit is contained in:
		@@ -8,7 +8,7 @@ let pool = null;
 | 
			
		||||
function create({ database, connectionLimit = 10 }) {
 | 
			
		||||
    let config = {
 | 
			
		||||
        connectionLimit: connectionLimit, //连接数量,默认是10
 | 
			
		||||
        ...globalConfig.mysql,
 | 
			
		||||
        ...globalConfig[global.dbConfig || 'mysql'],
 | 
			
		||||
        database: database,
 | 
			
		||||
    };
 | 
			
		||||
    // console.log(config);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user