(created-at db entity)
Produce the instant in which entity
was created.
Produce the instant in which `entity` was created.
(entities db & entids)
Maps entity
over entids
, producing a seq of entities.
Maps `entity` over `entids`, producing a seq of entities.
(last-modified-to db e a v)
Produce the instant in time at which attribute a
was last modified to v
on entity e
.
Produce the instant in time at which attribute `a` was last modified to `v` on entity `e`.
(mapify e)
Convert a Datomic entity to a Clojure map.
Convert a Datomic entity to a Clojure map.
(remap-query {args :args :as m})
Remove the args
key from query map m
to create a proper input to
datomic.api/query
.
Remove the `args` key from query map `m` to create a proper input to `datomic.api/query`.
(safe-wildcard q)
Produce a function for performing fulltext search with a wildcard character (*) that won't throw errors.
Produce a function for performing fulltext search with a wildcard character (*) that won't throw errors.
(updated-at db entity)
Produce the instant in which entity
was last updated.
Produce the instant in which `entity` was last updated.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close