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

Class

src/service/comment.service.js:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2const commentRouter = require('../router/comment.router');
3
4class CommentService {
5 async create(momentId, content, userId) {
6 const statement = `INSERT INTO comment (content, moment_id, user_id) VALUES (?, ?, ?);`;
7 `INSERT INTO comment SET ?`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected