MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / getUsersCollection

Function getUsersCollection

backend/src/dal/user.ts:79–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78// Export for use in tests
79export const getUsersCollection = (): Collection<DBUser> =>
80 db.collection<DBUser>("users");
81
82export async function addUser(
83 name: string,

Callers 15

createIndexFunction · 0.90
addUserFunction · 0.85
deleteUserFunction · 0.85
resetUserFunction · 0.85
updateNameFunction · 0.85
flagForNameChangeFunction · 0.85
clearPbFunction · 0.85
optOutOfLeaderboardsFunction · 0.85
getUserFunction · 0.85
getPartialUserFunction · 0.85
findByNameFunction · 0.85
isDiscordIdAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected