MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / findServerById

Function findServerById

packages/core/src/server.ts:114–120  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

112}
113
114export async function findServerById(id: string) {
115 const found = await db.query.dbServers.findFirst({
116 where: eq(dbServers.id, id),
117 });
118 if (!found) return null;
119 return addFlagsToServer(found);
120}
121
122export async function findServerByIdWithChannels(id: string) {
123 const found = await db.query.dbServers.findFirst({

Callers 15

server.test.tsFile · 0.90
fetchFunction · 0.90
mutateServerFunction · 0.90
server.tsFile · 0.90
operationFunction · 0.90
contextMenuRunMethod · 0.90
markAsSolvedFunction · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90

Calls 1

addFlagsToServerFunction · 0.90

Tested by

no test coverage detected