MCPcopy
hub / github.com/kysely-org/kysely / setUserEmail

Function setUserEmail

example/src/user/user.repository.ts:60–70  ·  view source on GitHub ↗
(
  db: Kysely<Database>,
  id: string,
  email: string,
)

Source from the content-addressed store, hash-verified

58}
59
60export async function setUserEmail(
61 db: Kysely<Database>,
62 id: string,
63 email: string,
64): Promise<void> {
65 await db
66 .updateTable('user')
67 .where('user_id', '=', id)
68 .set({ email })
69 .execute()
70}

Callers

nothing calls this directly

Calls 4

setMethod · 0.80
executeMethod · 0.65
whereMethod · 0.65
updateTableMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…