Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Cloud by

The recommended answer from here is to use

[:find ?attr ?type ?card
 [_ :db.install/attribute ?a]
 [?a :db/valueType ?t]
 [?a :db/cardinality ?c]
 [?a :db/ident ?attr]
 [?t :db/ident ?type]
 [?c :db/ident ?card]]

I'm curious what folks are using themselves. Also, what about db/index ?

1 Answer

0 votes

Recommendations may vary depending on what you want to accomplish?

If exploring an unknown schema is a goal the schema cartographer may be helpful.

Welcome to the Datomic Knowledgebase, where you can make features requests, ask questions and receive answers from other members of the community.