Yee Fay Lim
Yee Fay Lim
Does it make sense to provide count and index metrics on database records besides DB (HistoricalDB, FilteredDB at the moment)? Thought it could be useful, hence -metrics is in the...
> Lacks readability. I would really encourage you to use more [threading macros](https://clojure.org/guides/threading_macros) and not to hesitate to put expressions on a new line when things get too nested. Also,...
I mean something like this (abridged for clarity): ``` (let [eavt-datoms (-seq (.-eavt db))] {:per-attr-counts (->> (vals (group-by :a eavt-datoms)) (map count)) :per-entity-counts (->> (vals (group-by :e eavt-datoms)) (map count))})...