Optional
blobOptional
contentOptional
contentOptional
dateOptional
dateOptional
dateOptional
isOptional
isOptional
revisionOptional
utcOptional
utcProtected
beccaStatic
entityStatic
hashedStatic
primaryProtected
_getProtected
_setRevisions are not soft-deletable, they are immediately hard-deleted (erased).
Optional
isDeleted: booleanvalid object or null if the content cannot be parsed as JSON
true if the note has string content (not binary)
Mark the entity as (soft) deleted. It will be completely erased later.
This is a low-level method, for notes and branches use note.deleteNote()
and 'branch.deleteBranch()` instead.
Protected
putSaves entity - executes SQL, but doesn't commit the transaction on its own
Optional
opts: {}
Revision represents a snapshot of note's title and content at some point in the past. It's used for seamless note versioning.