1
2
3
4
5
6
7
8
9
10
| 'use strict';
|
| exports.list = function* (ctx) {
|
| return yield [
| ctx.app.mysqls.get('db1').query('select * from npm_auth'),
| ctx.app.mysqls.get('db2').query('select * from npm_auth'),
| ctx.app.mysqls.get('db3').query('select * from npm_auth'),
| ];
| };
|
|