egg-sequelize Multi Clients
发布于 6 年前 作者 dingyuanwu 3250 次浏览 来自 问答

egg-sequelize 怎样使用多个客户端,像egg-redis那样: config.redis = { clients: { foo: {
port: 6379,
host: ‘127.0.0.1’,
password: ‘auth’, db: 0, }, bar: { port: 6379, host: ‘127.0.0.1’, password: ‘auth’, db: 1, }, } }

回到顶部