CubDB.fetch
You're seeing just the function
fetch
, go back to CubDB module for more information.
Specs
fetch(GenServer.server(), key()) :: {:ok, value()} | :error
Fetches the value for the given key
in the database, or return :error
if key
is not present.
If the database contains an entry with the given key
and value value
, it
returns {:ok, value}
. If key
is not found, it returns :error
.