Optional
attachmentOptional
blobOptional
contentoptionally added to the entity
Optional
dateOptional
dateOptional
isOptional
isOptional
isOptional
noteeither noteId or revisionId to which this attachment belongs
Optional
positionOptional
typeOptional
utcOptional
utcProtected
beccaStatic
entityStatic
hashedStatic
primaryProtected
_getProtected
_setOptional
isDeleted: booleantrue 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: {}Optional
opts: ContentOpts
Attachment represent data related/attached to the note. Conceptually similar to attributes, but intended for larger amounts of data and generally not accessible to the user.