MCPcopy Create free account
hub / github.com/coderwhy/coderhub / remove

Method remove

src/service/comment.service.js:24–28  ·  view source on GitHub ↗
(commentId)

Source from the content-addressed store, hash-verified

22 }
23
24 async remove(commentId) {
25 const statement = `DELETE FROM comment WHERE id = ?`;
26 const [result] = await connection.execute(statement, [commentId]);
27 return result;
28 }
29
30 async getCommentsByMomentId(momentId) {
31 const statement = `

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected