Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
79
export
const
getUsersCollection = (): Collection<DBUser> =>
80
db.collection<DBUser>(
"users"
);
81
82
export
async
function
addUser(
83
name: string,
Callers
15
createIndex
Function · 0.90
addUser
Function · 0.85
deleteUser
Function · 0.85
resetUser
Function · 0.85
updateName
Function · 0.85
flagForNameChange
Function · 0.85
clearPb
Function · 0.85
optOutOfLeaderboards
Function · 0.85
getUser
Function · 0.85
getPartialUser
Function · 0.85
findByName
Function · 0.85
isDiscordIdAvailable
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected