CubDB.get_multi
You're seeing just the function
get_multi
, go back to CubDB module for more information.
Specs
get_multi(GenServer.server(), [key()]) :: %{required(key()) => value()}
Gets multiple entries corresponding by the given keys all at once, atomically.
The keys to get are passed as a list. The result is a map of key/value entries corresponding to the given keys. Keys that are not present in the database won't be in the result map.
Example
CubDB.put_multi(db, a: 1, b: 2, c: nil)
CubDB.get_multi(db, [:a, :b, :c, :x])
# => %{a: 1, b: 2, c: nil}