Pular para o conteúdo principal

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>

Source

packages/core/src/storage/kvStore/types.ts:13


get()

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

Parameters

key: string

collection?: string

Returns

Promise<StoredValue>

Source

packages/core/src/storage/kvStore/types.ts:11


getAll()

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

Parameters

collection?: string

Returns

Promise<Record<string, StoredValue>>

Source

packages/core/src/storage/kvStore/types.ts:12


put()

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

Parameters

key: string

val: Record<string, any>

collection?: string

Returns

Promise<void>

Source

packages/core/src/storage/kvStore/types.ts:6