Liking cljdoc? Tell your friends :D

toolbelt.datomic


conn?clj

(conn? x)

Is x a Datomic connection?

Is `x` a Datomic connection?
sourceraw docstring

created-atclj

(created-at db entity)

Produce the instant in which entity was created.

Produce the instant in which `entity` was created.
sourceraw docstring

DatabaseReferencecljprotocol

as-dbclj

(as-db _)
(as-db _ _)
source

db?clj

(db? x)
source

eav-txclj

(eav-tx db e a v)
source

eav-tx-q*clj

(eav-tx-q* db e a v)
source

entitiesclj

(entities db & entids)

Maps entity over entids, producing a seq of entities.

Maps `entity` over `entids`, producing a seq of entities.
sourceraw docstring

entity?clj

(entity? x)
source

entityd?clj

(entityd? x)
source

EntityReferencecljprotocol

entityclj

(entity _ db)

idclj

(id _)
source

last-modified-toclj

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

mapifyclj

(mapify e)

Convert a Datomic entity to a Clojure map.

Convert a Datomic entity to a Clojure map.
sourceraw docstring

remap-queryclj

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

safe-wildcardclj

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

sync-timeout-msclj

source

updated-atclj

(updated-at db entity)

Produce the instant in which entity was last updated.

Produce the instant in which `entity` was last updated.
sourceraw docstring

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

× close