      (sort-by first)
      pp/pprint)
 
+(repl/delete-scratch-dbs "config.edn")

(def since-2014 (d/since db #inst "2014-01-01"))
(def history (d/history db))

(def error-txes (set (d/q '[:find ?e
                            :where [?e :tx/error]]
                          db)))

;   the terms of this license.
;   You must not remove this notice, or any other, from this software.

(require '[clojure.pprint :as pp]
         '[datomic.client.api.alpha :as d]
         '[datomic.samples.repl :as repl])

(def conn (repl/scratch-db-conn "config.edn"))

(def txes
  [[{:db/id "item/id"
