trilium/src/entities/note_revision.js

11 lines
239 B
JavaScript
Raw Normal View History

"use strict";
const Entity = require('./entity');
class NoteRevision extends Entity {
async getNote() {
return this.sql.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
}
}
module.exports = NoteRevision;