Aside from urls and nomenclature, glimpse works.

This commit is contained in:
Bryce
2023-08-03 20:53:09 -07:00
parent f9b9a8480d
commit 88eda03e7f
11 changed files with 430 additions and 183 deletions

View File

@@ -76,7 +76,7 @@
;; reset relationships if it's refs, and not a lookup (i.e., seq of maps, or empty seq)
(and (sequential? v) (= :db.type/tuple (ident->value-type a)))
(and (sequential? v) (= :db.type/tuple (ident->value-type a)) (not (= :db.cardinality/many (ident->cardinality a))))
(conj ops [:db/add e a v])
(and (sequential? v) (= :db.type/ref (ident->value-type a)) (every? map? v))