(q: string)
| 107 | database: name, |
| 108 | }); |
| 109 | const query = (q: string) => new Promise<any[]>((res, rej) => { |
| 110 | src.query(q).then((r) => res(r)).catch((e) => rej(e)); |
| 111 | }); |
| 112 | report({ message: JSON.stringify(await query("show VARIABLES like 'char%';")) }); |
| 113 | const target = await DomainModel.get(domainId); |
| 114 | if (!target) throw new NotFoundError(domainId); |