monkeytype/backend/dao/psa.js

10 lines
193 B
JavaScript
Raw Normal View History

2021-08-29 21:30:45 +08:00
const { mongoDB } = require("../init/mongodb");
class PsaDAO {
static async get(uid, config) {
return await mongoDB().collection("psa").find().toArray();
}
}
module.exports = PsaDAO;