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

Method remove

src/service/moment.service.js:71–75  ·  view source on GitHub ↗
(momentId)

Source from the content-addressed store, hash-verified

69 }
70
71 async remove(momentId) {
72 const statement = `DELETE FROM moment WHERE id = ?`;
73 const [result] = await connection.execute(statement, [momentId]);
74 return result;
75 }
76
77 async hasLabel(momentId, labelId) {
78 const statement = `SELECT * FROM moment_label WHERE moment_id = ? AND label_id = ?`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected