MCPcopy Create free account
hub / github.com/Y80/bmm / removeMany

Function removeMany

src/controllers/UserTag.controller.ts:102–105  ·  view source on GitHub ↗
({ ids }: { ids: TagId[] })

Source from the content-addressed store, hash-verified

100 },
101
102 async removeMany({ ids }: { ids: TagId[] }) {
103 const userId = await getAuthedUserId()
104 return await db.delete(userTags).where(and(eq(userTags.userId, userId), inArray(userTags.id, ids))).returning()
105 },
106
107 /** 获取所有标签的名称 */
108 async getAllNames() {

Callers

nothing calls this directly

Calls 1

getAuthedUserIdFunction · 0.90

Tested by

no test coverage detected