datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
pithyless 2019-03-11T13:44:25.008500Z

What would the ref types reference, exactly? In DataScript the reference can point to any other entity in the DB. You could generate a graph of various relationships once you populate it with data (e.g. “show me all the ‘kinds’ of entities that are referenced by :game/p1“, but how you define ‘kinds’ is specific to your domain).

isak 2019-03-11T17:02:05.008700Z

You can just add your own metadata to the schema.

2019-03-11T18:53:20.008900Z

Yeah I mean it's weird that you only what something references to when you populate with data