mirror of
https://github.com/zadam/trilium.git
synced 2024-11-17 21:21:40 +08:00
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
|
"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;
|