mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
repository has now first level cache
This commit is contained in:
@@ -48,7 +48,7 @@ class NoteRevision extends Entity {
|
||||
}
|
||||
|
||||
async getNote() {
|
||||
return await repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
|
||||
return await repository.getNote(this.noteId);
|
||||
}
|
||||
|
||||
/** @returns {boolean} true if the note has string content (not binary) */
|
||||
|
||||
Reference in New Issue
Block a user