KeyValueStore: Method to check key-value store record exists #507
Labels
backend
Issues related to the platform backend.
low priority
Low priority issues to be done eventually.
product roadmap
Issues contributing to product roadmap.
t-platform
Issues with this label are in the ownership of the platform team.
t-tooling
Issues with this label are in the ownership of the tooling team.
validated
Issues that are resolved and their solutions fulfill the acceptance criteria.
It is impossible to check if a key-value record exists, and users use
kvs.getRecord
instead, which is inefficient.The implementation is simple: to check if a record exists, you can use an HTTP request with the method HEAD get Record API URL.
Method:
keyValueStoreClient.exists(key: string): boolean
which returns true or false based on the record.
The text was updated successfully, but these errors were encountered: