UAInspector v0.15.1 UAInspector.Database behaviour View Source

Basic database module providing minimal functions.

Link to this section Summary

Callbacks

Returns the database sources

Converts a raw entry to its ets representation

Link to this section Callbacks

Link to this callback sources() View Source
sources() :: list()

Returns the database sources.

Link to this callback to_ets(entry, type) View Source
to_ets(entry :: any(), type :: String.t()) :: term()

Converts a raw entry to its ets representation.

If necessary a data conversion is made from the raw data passed directly out of the database file and the actual data needed when querying the database.