Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fetch all attributes for a namespace in datomic
[:find ?id ?name ?attr
:in $ ?in-ns
:where [?id :db/ident ?name]
[(name ?name) ?attr]
[(namespace ?name) ?ns]
[(= ?ns ?in-ns)]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment