The default partition for new tempids.
The default partition for new tempids.
(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.
(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.
(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.
(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`.
(set-partition! part)
Set the partition to part
.
Set the partition to `part`.
(tempid & [part])
Create a new Datomic tempid
.
Create a new Datomic `tempid`.
(with-partition part & body)
Execute body
with the default partition set to part
.
Execute `body` with the default partition set to `part`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close