I have began to do some experiments with immudb. I am inserting some data and it is inserting fine there. However, if I try to get a value like this :
const getRes = await cl.get(getReq);
I get an error "Key not Found". How can I know if a certain key is available before I do the Get query?
There is no "exists" operation exposed by immudb but it shouldn’t be an issue to receive "key not found" error.
Disclaimer: I’m an active immudb contributor, please feel free to open an issue for this API at immudb GitHub repo.
Answered By – jeroiraz
Answer Checked By – Clifford M. (GoLangFix Volunteer)