Files
Trilium/src/entities/attribute.js

11 lines
240 B
JavaScript
Raw Normal View History

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