Liking cljdoc? Tell your friends :D

provisdom.spectomic.core


datascript-schemaclj

(datascript-schema specs)
(datascript-schema specs opts)

datascript-schema-from-datomic-schemaclj

(datascript-schema-from-datomic-schema datomic-schema)

datomic-schemaclj

(datomic-schema specs)
(datomic-schema specs
                {:keys [custom-type-resolver] :or {custom-type-resolver type}})

datomic-type?clj

(datomic-type? x)

datomic-typesclj


find-type-via-formclj

(find-type-via-form spec)
(find-type-via-form spec custom-type-resolver)

find-type-via-generationclj

(find-type-via-generation spec
                          {:keys [custom-type-resolver value-type gen-resize]
                           :or {gen-resize 10}})

Returns Datomic schema for spec. Takes a map of the following options: :custom-type-resolver - A function that takes an object and returns the Datomic value type. :value-type - Force the value type for a spec to be this type. This is useful for cases where your spec generates multiple types and your code will work with multiple types (i.e. long and double).

Returns Datomic schema for `spec`. Takes a map of the following options:
:custom-type-resolver - A function that takes an object and returns the Datomic value type.
:value-type - Force the value type for a spec to be this type. This is useful
              for cases where your spec generates multiple types and your code
              will work with multiple types (i.e. long and double).
raw docstring

sample-typesclj

(sample-types samples custom-type-resolver)

Returns a set of all the datomic types samples contains.

Returns a set of all the datomic types `samples` contains.
raw docstring

spec-formclj

(spec-form keyword-or-form)

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

× close