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

Class

src/service/label.service.js:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const connection = require('../app/database');
2
3class LabelService {
4 async create(name) {
5 const statement = `INSERT INTO label (name) VALUES (?);`;
6 const [result] = await connection.execute(statement, [name]);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected