userModel.js 182 B

12345678910
  1. // userModel.js
  2. const db = require('../config/dbConfig');
  3. class User {
  4. getAllUsers(callback) {
  5. //db.query('SELECT * FROM users', callback);
  6. }
  7. }
  8. module.exports = new User();