MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readRows

Function readRows

scripts/migration/service-split-postgres-cli.ts:57–58  ·  view source on GitHub ↗
(sql: SqlClient, query: string)

Source from the content-addressed store, hash-verified

55 JSON.parse(readFileSync(path, "utf8")) as MigrationInput;
56
57const readRows = async <T extends readonly object[]>(sql: SqlClient, query: string): Promise<T> =>
58 sql.unsafe<T>(query);
59
60const readCompletedTenants = async (
61 sql: SqlClient,

Callers

nothing calls this directly

Calls 1

unsafeMethod · 0.80

Tested by

no test coverage detected