Class: BaseInMemoryKVStore
Hierarchy
-
↳
BaseInMemoryKVStore
Constructors
constructor
• new BaseInMemoryKVStore()
Inherited from
Methods
delete
▸ Abstract
delete(key
, collection?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
key | string |
collection? | string |
Returns
Promise
<boolean
>
Inherited from
Defined in
packages/core/src/storage/kvStore/types.ts:14
get
▸ Abstract
get(key
, collection?
): Promise
<StoredValue
>
Parameters
Name | Type |
---|---|
key | string |
collection? | string |
Returns
Promise
<StoredValue
>
Inherited from
Defined in
packages/core/src/storage/kvStore/types.ts:12
getAll
▸ Abstract
getAll(collection?
): Promise
<Record
<string
, StoredValue
>>
Parameters
Name | Type |
---|---|
collection? | string |
Returns
Promise
<Record
<string
, StoredValue
>>
Inherited from
Defined in
packages/core/src/storage/kvStore/types.ts:13
persist
▸ Abstract
persist(persistPath
, fs?
): void
Parameters
Name | Type |
---|---|
persistPath | string |
fs? | GenericFileSystem |
Returns
void
Defined in
packages/core/src/storage/kvStore/types.ts:18
put
▸ Abstract
put(key
, val
, collection?
): Promise
<void
>