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

Class

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

Source from the content-addressed store, hash-verified

1const connection = require('../app/database');
2
3class UserService {
4 async create(user) {
5 const { name, password } = user;
6 const statement = `INSERT INTO user (name, password) VALUES (?, ?);`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected