mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
support for updating entities etc.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
const Entity = require('./entity');
|
||||
|
||||
class Attribute extends Entity {
|
||||
static get tableName() { return "attributes"; }
|
||||
|
||||
async getNote() {
|
||||
return this.repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user