Status: Accepted (2026-07-15)
Datomic's attribute system has a well-understood core plus features that pull
in significant machinery: :db/fulltext (a text index engine), tuple value
types (composite uniqueness), entity specs/:db/ensure.
v1 implements the core: attributes as entities; :db/ident; value types
bool, long, double, bigint, bigdec, instant, uuid, keyword, string, bytes,
ref; cardinality one/many; :db/unique identity (upsert) and value;
:db/isComponent; :db/index (AVET membership); :db/noHistory; :db/doc;
partitions; tempids with upsert unification; lookup refs; Datomic's schema
alteration rules. Deferred: fulltext (tantivy, post-v1), tuple types,
:db/ensure entity specs, uri/symbol value types.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |