Liking cljdoc? Tell your friends :D

toolbelt.datomic.schema


*part*clj

The default partition for new tempids.

The default partition for new tempids.
sourceraw docstring

compile-schemaclj

(compile-schema namespace)

Compile all schemas in namespace into a map of conformity norms.

Compile all schemas in `namespace` into a map of conformity norms.
sourceraw docstring

compile-schemasclj

(compile-schemas & namespaces)

Compile all schemas found in namespaces for schema definitions into one map of conformity norms.

Compile all schemas found in `namespaces` for schema definitions into one map
of conformity norms.
sourceraw docstring

defschemacljmacro

(defschema sym-or-kw & body)

Helper macro to define datomic schema. Takes a symbol or keyword as its first argument, an optional vector of required schema keys, and a body that should evaluate to valid Datomic schema.

Helper macro to define datomic schema. Takes a symbol or keyword as its first
argument, an optional vector of required schema keys, and a body that should
evaluate to valid Datomic schema.
sourceraw docstring

gen-tx-keyclj

(gen-tx-key namespace sym)
source

install-schemaclj

(install-schema conn norms)

Install the schema contained in norms into the database referenced by conn.

Install the schema contained in `norms` into the database referenced by
`conn`.
sourceraw docstring

schema-tx-keyclj

(schema-tx-key {:keys [ns name tx-key]})
source

set-partition!clj

(set-partition! part)

Set the partition to part.

Set the partition to `part`.
sourceraw docstring

tempidclj

(tempid & [part])

Create a new Datomic tempid.

Create a new Datomic `tempid`.
sourceraw docstring

with-partitioncljmacro

(with-partition part & body)

Execute body with the default partition set to part.

Execute `body` with the default partition set to `part`.
sourceraw docstring

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

× close