View Source erldns_storage_json (erldns v4.2.0)
Summary
Functions
Backup a specific ets table. https://github.com/SiftLogic/erl-dns/issues/3
Should backup all ets tables. https://github.com/SiftLogic/erl-dns/issues/3
Create ets table wrapper. Use match cases for adding different options to the table.
Delete an entry in the ets table.Ets always returns true for this function.
Delete entire ets table.
Empty ets table. Ets always returns true for this function.
Wrapper for foldl in ets.
Insert value in ets table.
Lists the ets table
Select from ets using key, value.
Delete entries in the ets table that match the provided spec.
Functions
Backup a specific ets table. https://github.com/SiftLogic/erl-dns/issues/3
-spec backup_tables() -> ok | {error, Reason :: term()}.
Should backup all ets tables. https://github.com/SiftLogic/erl-dns/issues/3
Create ets table wrapper. Use match cases for adding different options to the table.
Delete an entry in the ets table.Ets always returns true for this function.
-spec delete_table(atom()) -> ok.
Delete entire ets table.
-spec empty_table(atom()) -> ok.
Empty ets table. Ets always returns true for this function.
Wrapper for foldl in ets.
Insert value in ets table.
Lists the ets table
Select from ets using key, value.
Delete entries in the ets table that match the provided spec.