https://github.com/bmaddy/gadget
A version of inspect-tree that displays reverse references for Datomic entities
https://github.com/bmaddy/gadget
clojure datomic
Last synced: 2 months ago
JSON representation
A version of inspect-tree that displays reverse references for Datomic entities
- Host: GitHub
- URL: https://github.com/bmaddy/gadget
- Owner: bmaddy
- License: epl-1.0
- Created: 2018-05-16T02:47:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T14:45:11.000Z (over 7 years ago)
- Last Synced: 2025-10-21T23:57:08.861Z (2 months ago)
- Topics: clojure, datomic
- Language: Clojure
- Homepage:
- Size: 186 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gadget
A version of `clojure.inspector/inspect-tree` that includes reverse references when inspecting Datomic entities.
## Usage
[](https://clojars.org/gadget)
Alternatively, you can just hotload the dependency in your project (`cljr-hotload-dependency` in Emacs).
```clojure
(require '[gadget.core :as g])
(g/inspect-entity-tree (d/entity (d/db conn) 0))
;; notice that reverse references are included so you can walk the entire graph
```
## Demo

## License
Copyright © 2018 Brian Maddy
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.