Class: SimpleKVStore
Extends
Constructors
new SimpleKVStore()
new SimpleKVStore(
data
):SimpleKVStore
Parameters
• data: DataType
= {}
Returns
Overrides
Source
packages/core/src/storage/kvStore/SimpleKVStore.ts:11
Properties
data
private
data:DataType
={}
Source
packages/core/src/storage/kvStore/SimpleKVStore.ts:11
persistPath
private
persistPath:undefined
|string
Source
packages/core/src/storage/kvStore/SimpleKVStore.ts:9
Methods
delete()
delete(
key
,collection
):Promise
<boolean
>
Parameters
• key: string
• collection: string
= DEFAULT_COLLECTION
Returns
Promise
<boolean
>
Overrides
Source
packages/core/src/storage/kvStore/SimpleKVStore.ts:48
get()
get(
key
,collection
):Promise
<any
>
Parameters
• key: string
• collection: string
= DEFAULT_COLLECTION
Returns
Promise
<any
>