MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / getById

Method getById

lib/models/user.ts:29–35  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

27 }
28
29 static async getById(id: string) {
30 const user = (await db.query<User>(sql`SELECT * FROM "bewcloud_users" WHERE "id" = $1 LIMIT 1`, [
31 id,
32 ]))[0];
33
34 return user;
35 }
36
37 static async getByPasskeyCredentialId(credentialId: string) {
38 const user = (await db.query<User>(

Callers 15

postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
postFunction · 0.45
getFunction · 0.45
getFunction · 0.45
postFunction · 0.45
getFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected