MCPcopy Create free account
hub / github.com/benjitaylor/agentation / getUserByEmail

Function getUserByEmail

mcp/src/server/sqlite.ts:745–748  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

743 },
744
745 getUserByEmail(email: string): User | undefined {
746 const row = tenantStmts.getUserByEmail.get(email) as Record<string, unknown> | undefined;
747 return row ? rowToUser(row) : undefined;
748 },
749
750 getUsersByOrg(orgId: string): User[] {
751 const rows = tenantStmts.getUsersByOrg.all(orgId) as Record<string, unknown>[];

Callers

nothing calls this directly

Calls 1

rowToUserFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…