Constructor
new NoteContent(row)
Parameters:
| Name | Type | Description | 
|---|---|---|
row | 
            
            object containing database row from "note_contents" table | 
Properties:
| Name | Type | Description | 
|---|---|---|
noteContentId | 
            
            string | primary key | 
noteId | 
            
            string | reference to owning note | 
isProtected | 
            
            boolean | true if note content is protected | 
content | 
            
            blob | note content - e.g. HTML text for text notes, file payload for files | 
dateCreated | 
            
            string | |
dateModified | 
            
            string | 
- Source:
 
Extends
Methods
(async) getNote() → {Promise.<Note>}
- Source:
 
Returns:
- Type
 - Promise.<Note>