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

Class

src/service/moment.service.js:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9// `
10
11class MomentService {
12 async create(userId, content) {
13 const statement = `INSERT INTO moment (content, user_id) VALUES (?, ?);`;
14 const [result] = await connection.execute(statement, [content, userId]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected