(momentId)
| 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 = ?`; |
nothing calls this directly
no outgoing calls
no test coverage detected