This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns demo.main | |
(:require [datascript :as ds])) | |
(def schema | |
{:x/component {:db/valueType :db.type/ref ; Required to demonstrate bug. | |
:db/isComponent true ; Required to demonstrate bug. | |
:db/cardinality :db.cardinality/many | |
; Not required but demonstrates what happens to ID numbering | |
; after first component. | |
}}) |
NewerOlder