checklogs.js 283 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 'use strict'; const Model = require('./model'); class Checklogs extends Model { constructor() { super('checklogs'); } insertLog(id, text) { this.insert({ "_id": id, "text": text }); } } module.exports = Checklogs;