query.js 181 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 const db = require('../model/db'); exports.getProfanity = async () => { const selectResult = await db.query("SELECT DISTINCT content from profanity"); return selectResult; };