MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / query

Function query

packages/migrate/scripts/jnoj.ts:109–111  ·  view source on GitHub ↗
(q: string)

Source from the content-addressed store, hash-verified

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);

Callers 1

runFunction · 0.70

Calls 2

thenMethod · 0.80
queryMethod · 0.80

Tested by

no test coverage detected