Liking cljdoc? Tell your friends :D

eacl.datomic.backend

Datomic's storage-specific implementation of the shared v8 snapshot adapter. Authorization graph algorithms remain outside this namespace.

Datomic's storage-specific implementation of the shared v8 snapshot
adapter. Authorization graph algorithms remain outside this namespace.
raw docstring

adapter-capabilitiesclj


adapter-config-keysclj


await-basis-dbclj

(await-basis-db conn local-db requested-t timeout-ms phase)
(await-basis-db conn local-db requested-t timeout-ms phase failure-kind)

Returns one Datomic DB whose observed basis is at least requested-t.

local-db is the request's single captured local observation. Synchronizes only when that value is behind, bounds the wait, verifies Datomic's promised postcondition, and owns cancellation of the returned future on timeout or interruption. Provider failures retain their cause and selection phase.

Returns one Datomic DB whose observed basis is at least `requested-t`.

`local-db` is the request's single captured local observation. Synchronizes
only when that value is behind, bounds the wait, verifies Datomic's promised
postcondition, and owns cancellation of the returned future on timeout or
interruption. Provider failures retain their cause and selection phase.
raw docstring

basis-adapterclj

(basis-adapter db
               {:keys [entid->object-id object-id->entid adapter-fingerprint
                       adapter-deterministic? identity-contract]
                :as config})

Creates the connection-free basis adapter used by the shared pipeline.

Creates the connection-free basis adapter used by the shared pipeline.
raw docstring

basis-kindclj

(basis-kind db)

Classifies one Datomic database value without touching an EACL runtime.

This is structural classification only. It deliberately does not claim to distinguish a speculative d/with product from committed state; public EACL APIs never admit arbitrary native values.

Classifies one Datomic database value without touching an EACL runtime.

This is structural classification only. It deliberately does not claim to
distinguish a speculative `d/with` product from committed state; public
EACL APIs never admit arbitrary native values.
raw docstring

connection-source-idclj

(connection-source-id conn)

Returns Datomic's durable database identity without calling d/db.

Peer connections expose db_id; local connections expose their resident database reference. The fallback is deliberately rejected rather than manufacturing a process-local identity that would make cross-process tokens unsound.

Returns Datomic's durable database identity without calling `d/db`.

Peer connections expose `db_id`; local connections expose their resident
database reference. The fallback is deliberately rejected rather than
manufacturing a process-local identity that would make cross-process tokens
unsound.
raw docstring

database-source-scopeclj

(database-source-scope db)

Returns the durable Datomic database identity carried by db.

Returns the durable Datomic database identity carried by `db`.
raw docstring

sourceclj

(source conn opts)

Builds a static borrowed Datomic basis source.

Construction reads only the connection's durable database id. At-least and exact selection capture one local Peer DB and start one targeted d/sync T only when that immutable observation is below the authenticated floor.

Builds a static borrowed Datomic basis source.

Construction reads only the connection's durable database id. At-least and
exact selection capture one local Peer DB and start one targeted `d/sync T`
only when that immutable observation is below the authenticated floor.
raw docstring

source-capabilitiesclj

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close