query.js 181 Bytes
const db = require('../model/db');

exports.getProfanity = async () => {
  const selectResult = await db.query("SELECT DISTINCT content from profanity");

  return selectResult;
};