Members
(protected) becca
Methods
(protected) _getContent() → {string|Buffer}
Returns:
- Type
- string | Buffer
(protected) _setContent()
(protected) beforeSaving()
(protected) generateHash() → {string}
Returns:
- Type
- string
(abstract, protected) getPojo()
(protected) getPojoToSave()
(protected) getUtcDateChanged()
markAsDeleted(deleteIdopt)
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.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
deleteId |
<optional> |
null |
(protected) putEntityChange()
save() → {this}
Saves entity - executes SQL, but doesn't commit the transaction on its own
Returns:
- Type
- this