Constructor
new ManifestEntry()
- Source:
Properties:
Name | Type | Description |
---|---|---|
tablename |
string | the name of the table the entry is from. |
sqlId |
number | the primary key of the entry in the sqlite database. Internally manifest entries refer to each other by a 'hash' property that is not related to the id of the entry in the sqlite database. |
hashKey |
number | string | the primary hash key for the entry. this is used within the manifest to refer to the entry from other entries. On many, (but not all) tables this field is stored twice on the data object. Once in 'hash' and once under another field. |
data |
object | the entry data itself. note that this object will contain the hashKey under some property name. |
Methods
hashFieldPath() → {string}
- Source:
Get the property path to the hash field from the root of the ManifestEntry#data object.
Returns:
- the property path from the root of ManifestEntry#data to the hash field.
- Type
- string