(org: string)
| 802 | Effect.gen(function*() { |
| 803 | const sql = yield* PgClient.PgClient |
| 804 | const setOrg = (org: string) => sql`SELECT set_config('app.org', ${org}, true)` |
| 805 | const query = sql<{ readonly orgName: string }>`SELECT current_setting('app.org', true) AS org_name` |
| 806 | |
| 807 | const [, rows] = yield* sql.batch([setOrg("acme"), query]) |
no outgoing calls
no test coverage detected