import AttributeObject from 'electron-coresqlite/lib/attributes/attribute-object.js'
AttributeObject
Extends:
Attribute → AttributeObject
The value of this attribute is always an object that can be cast to itemClass
Constructor Summary
Public Constructor | ||
public |
constructor(objectPattern: {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *}) |
Member Summary
Public Members | ||
public |
ItemClass: * |
Inherited Summary
From class Attribute | ||
public |
jsonKey: * |
|
public |
modelKey: * |
|
public |
queryable: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
fromJSON(val: *): * |
|
public |
|
|
public |
|
|
public |
toJSON(val: *): * |
Public Constructors
public constructor(objectPattern: {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *}) source
Override:
Attribute#constructorParams:
Name | Type | Attribute | Description |
objectPattern | {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *} |
|
Public Members
public ItemClass: * source
Public Methods
public fromJSON(val: *): * source
Override:
Attribute#fromJSONParams:
Name | Type | Attribute | Description |
val | * |
Return:
* |
public toJSON(val: *): * source
Override:
Attribute#toJSONParams:
Name | Type | Attribute | Description |
val | * |
Return:
* |