is there a way to query all datoms that share a namespace?
How big is your database?
right now? like 400 datoms.
but i'm interested in the general question, i know how to do this in sql (select * from table;) but not in datalog
Do you mean without providing the meta data (eg :https://clojurians.slack.com/archives/C03RZMDSH/p1765163594157179?thread_ts=1765153757.922309&cid=C03RZMDSH) within transactions in that namespace as at transaction time?
i'm using datalevin at the moment and haven't done any schema construction yet
That is particularly helpful if you cannot guarantee strict naming convention with schema over time, otherwise maybe a full scan, eg: (all :student/... attr)
(d/q '[:find ?e ?a ?v ?t
:where
[?e ?a ?v ?t]
[?a :db/ident ?ident]
[(namespace ?ident) ?ns]
[(= ?ns "student")]]
(d/db conn))
this looks good, thank you