Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

app.store

Leonardo Laureti edited this page May 13, 2019 · 1 revision

app.store

Handles persistent storage entries

<Object>

available methods:

 - set (key <String>, value)
 - get (key <String>)
 - has (has <String>, value)
 - del (key <String>)
 - reset ()

 

app.store.set

Sets persistent storage entry

<Function>

arguments:

<String> key
value

returns.

position:

 

app.store.get

Gets persistent storage entry by key

<Function>

arguments:

<String> key

returns.

position:

 

app.store.has

Checks existence for persistent storage entry by key and match value

<Function>

arguments:

<String> key
value

returns:

<Boolean>

position:

 

app.store.del

Removes persistent storage entry by key

<Function>

arguments:

<String> key

returns.

position:

 

app.store.reset

Resets persistent storage

<Function>

returns.

position:

 

Clone this wiki locally