Can I query the schema itself? I want to co-locate some information about my database attributes with the schema, but I need to display this data in my application too.
... of course, I could just query the schema data before transacting it in the db. Anyway, I guess my secondary question is this: can I use whatever attributes I want in the schema with no issue?
Yes. A schema is just a map of attributes to properties. And a property is just a Clojure map and is stored as such. You can store whatever in there. Clojure maps are open. We follow that philosophy. As long as you donβt remove items DL care about, e.g. :db/aid, you are fine.
Thanks. Can I also retrieve them using a query?
Just call schema function