Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Configuration > Erlang Modules > age_registry
list_keys/3
Description
list_keys/3 is an Erlang function exported by "age_registry" module.
Returns a sorted list with key names by specified Cell name and Hive only by particular root Key.
The list is sorted ascending by key name.
References
•allocate_hive/2
•add_key/4
•list_keys/2
Parameters
Name
Type
Hive
atom()
Hive identifier.
Cell
string()
Cell name.
RootKey
Key name.
Result
Value or Type
list()
Returns a list with key names by specified Cell name and Hive only by particular root Key.
Code Sample
> age_registry:list_keys(test, "CELL_1", "/key_a"). [ {"/key_a", "Root of chain A"}, {"/key_a/1", 12.5}, {"/key_a/2", 123}, {"/key_a/3", true}, {"/key_a/4", [1, 2, 3]} ]