trilium_alchemy.core
¶
This module implements ORM access to Trilium and fundamental note capabilities.
See the User guide for a detailed walkthrough with examples.
Class index¶
Imported
Interface to Trilium and context in which to store changes to entities. |
||
Encapsulates a note. Can be subclassed for custom attribute accessors. |
||
Encapsulates an attribute, a key-value record attached to a note. |
||
Encapsulates a label. |
||
Encapsulates a relation. |
||
Encapsulates a branch, a parent-child association between notes. |
||
Note to use as subclass for declarative notes, i.e. note classes which automatically sync with the corresponding note if it already exists in Trilium. |
||
Reusable collection of attributes and children which can be inherited by a
|
||
Base class for Trilium entities. |
||
Entity state. Maintained automatically based on the user’s updates and object’s current state in Trilium. |
Function index¶
Imported
Adds a |
||
Adds a |
||
Adds a |
||
Adds a |
||
Add |
||
Instantiate provided class and add as child, creating a
|
Exception index¶
Imported
Raised when user attempts to write a field which is read-only. |
||
Raised upon flush when changes in unit of work are invalid or incompatible. |