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