Skip to main content

Class: abstract BaseKVStore

Extended by

Constructors

new BaseKVStore()

new BaseKVStore(): BaseKVStore

Returns

BaseKVStore

Methods

delete()

abstract delete(key, collection?): Promise<boolean>

Parameters

key: string

collection?: string

Returns

Promise<boolean>

Defined in

packages/core/storage/kv-store/dist/index.d.ts:7


get()

abstract get(key, collection?): Promise<StoredValue>

Parameters

key: string

collection?: string

Returns

Promise<StoredValue>

Defined in

packages/core/storage/kv-store/dist/index.d.ts:5


getAll()

abstract getAll(collection?): Promise<Record<string, StoredValue>>

Parameters

collection?: string

Returns

Promise<Record<string, StoredValue>>

Defined in

packages/core/storage/kv-store/dist/index.d.ts:6


put()

abstract put(key, val, collection?): Promise<void>

Parameters

key: string

val: StoredValue

collection?: string

Returns

Promise<void>

Defined in

packages/core/storage/kv-store/dist/index.d.ts:4