MCPcopy
hub / github.com/drizzle-team/drizzle-orm / auth

Function auth

integration-tests/tests/pg/neon-http.test.ts:597–597  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

595 },
596 });
597 const auth = (token: string) => () => token;
598
599 it('$count', async () => {
600 await db.$withAuth(auth('$count')).$count(usersTable).catch(() => null);

Callers 1

neon-http.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected