Database.Entry (Eddb v0.7.0)
View SourceSummary
Functions
Combine a list of Databse.Entry's by key.
Combine a list of Databse.Entry's for a specific key. This does also sort by timestamp
Functions
Combine a list of Databse.Entry's by key.
The parameter is usually obtained by getting them from multiple topics, map to the entries and flatten the result:
entries = topics # <-- A list of topics usually with the same topic name |> Enum.map(fn topic -> topic.entries end) |> List.flatten() |> Entry.combine()
Combine a list of Databse.Entry's for a specific key. This does also sort by timestamp