(entity-schema entity)
Returns the DataScript schema for an entity.
Returns the DataScript schema for an entity.
(merge-attr-schema [attr-name prev-schema] [_ next-schema])
"Merges" two schemas for an attribute with the same name by throwing an exception if they are different and the first is not nil, and otherwise picking the second.
"Merges" two schemas for an attribute with the same name by throwing an exception if they are different and the first is not nil, and otherwise picking the second.
(merge-schemas schemas)
(merge-schemas schemas merge-fn)
Merge multiple DataScript schemas so that there are no conflicting attributes. The default behavior is to throw an exception if two schemas for the same attribute are different.
Merge multiple DataScript schemas so that there are no conflicting attributes. The default behavior is to throw an exception if two schemas for the same attribute are different.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close