Liking cljdoc? Tell your friends :D

workflo.macros.entity.datascript


attr-schemaclj/s

(attr-schema attr-opts)
source

entity-schemaclj/s

(entity-schema entity)

Returns the DataScript schema for an entity.

Returns the DataScript schema for an entity.
sourceraw docstring

merge-attr-schemaclj/s

(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.
sourceraw docstring

merge-schemasclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close