Rate this page:

KeyValueStorageInterface

Props

delKeyValueItem

Copy URL
delKeyValueItem: 

(request: DelKeyValueItemRequest) => Promise<DelKeyValueItemResponse>

Deletes the specified key-value pair from the storage.

getKeyValueItem

Copy URL
getKeyValueItem: 

(request: GetKeyValueItemRequest) => Promise<GetKeyValueItemResponse>

Gets the specified key-value pair from the storage.

getKeyValueItems

Copy URL
getKeyValueItems: 

(request: GetKeyValueItemsRequest) => Promise<GetKeyValueItemsResponse>

Gets all the key-value pairs in which the keys begin with a pattern.

getKeyValueKeys

Copy URL
getKeyValueKeys: 

(request: GetKeyValueKeysRequest) => Promise<GetKeyValueKeysResponse>

Gets all the keys of key-value pairs.

setKeyValueItem

Copy URL
setKeyValueItem: 

(request: SetKeyValueItemRequest) => Promise<SetKeyValueItemResponse>

Creates or updates a key-value pair. If an existing key is passed, the method returns the existing item and changes the value if needed. The keys should be unique within a Voximplant application.