Class: BaseKVStore
Hierarchy
BaseKVStore
Constructors
constructor
• new BaseKVStore()
Methods
delete
▸ Abstract
delete(key
, collection?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
key | string |
collection? | string |
Returns
Promise
<boolean
>
Defined in
get
▸ Abstract
get(key
, collection?
): Promise
<StoredValue
>
Parameters
Name | Type |
---|---|
key | string |
collection? | string |
Returns
Promise
<StoredValue
>
Defined in
getAll
▸ Abstract
getAll(collection?
): Promise
<Record
<string
, StoredValue
>>
Parameters
Name | Type |
---|---|
collection? | string |
Returns
Promise
<Record
<string
, StoredValue
>>
Defined in
put
▸ Abstract
put(key
, val
, collection?
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
val | Record <string , any > |
collection? | string |
Returns
Promise
<void
>