tonsky / datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
Eclipse Public License 1.0
5.45k stars 304 forks source link

Support homogenous tuples #427

Open tonsky opened 2 years ago

tonsky commented 2 years ago

The only use-case where this is needed and using a plain vector is not enough is resolving tempids:

{:db/valueType :db.type/tuple
 :db/tupleType :db.type/ref}

See also #364 and https://docs.datomic.com/on-prem/schema/schema.html#homogeneous-tuples