Class: TinyNgStore

TinyNgStore

new TinyNgStore()

Class representing the data store Creates an instance of TinyNgStore.
Source:

Methods

DeleteItem(name)

Delete an item from the data store
Parameters:
Name Type Description
name string This is the name of the data stored
Source:

GetItem(name) → {TnsState.<StoreItem>}

Retrieve an item from the data store This will return TnsState representing that object
Parameters:
Name Type Description
name string This is the name of the data stored
Source:
Returns:
Type
TnsState.<StoreItem>

InsertItem(storeItem) → {TnsState.<StoreItem>}

Insert an item into the data store This will return TnsState representing that object inserted
Parameters:
Name Type Description
storeItem StoreItem StoreItem class representing your data
Source:
Returns:
Type
TnsState.<StoreItem>

UpdateItem(storeItem)

Update and item within the data store If the item does not exist, nothing will be created
Parameters:
Name Type Description
storeItem StoreItem StoreItem class representing your data
Source: