mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-02 05:02:27 +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;
|