say I had :user/name and :user/gender installed as datomic schema.
:user/name
:user/gender
(pprint (d/q \'[:find ?ident :where [?e :db/ident
I figured it out
(d/q '[:find ?ident :where [?e :db/ident ?ident] [_ :db.install/attribute ?e] [(.toString ?ident) ?val] [(.startsWith ?val ":user")]] (d/db *conn*)) ;; => #{[:user/gender] [:user/firstName]}