Liking cljdoc? Tell your friends :D

datahike.pg.read-view

The applied row facts of a private SQL buffer, for READ COMMITTED reads. Each published DML statement contributes its immutable report datoms. The journal grows with staged row changes and shares report vectors across savepoints. A mixed buffer is usable only while the recorded operation count covers it. Never infer missing facts by rerunning SQL.

The applied row facts of a private SQL buffer, for READ COMMITTED reads.
Each published DML statement contributes its immutable report datoms.
The journal grows with staged row changes and shares report vectors
across savepoints. A mixed buffer is usable only while the recorded
operation count covers it. Never infer missing facts by rerunning SQL.
raw docstring

append-reportclj

(append-report buffer operations report)
source

column-changesclj

(column-changes buffer spec column)

Index one frozen buffer on demand. Key changes, private entities and updates with effects outside the projected scalar use the full view.

Index one frozen buffer on demand. Key changes, private entities and
updates with effects outside the projected scalar use the full view.
sourceraw docstring

covered?clj

(covered? buffer)
source

materializeclj

(materialize base buffer spec)

Project recorded row changes onto the latest committed DB. Read only facts actually produced by the statements, without invoking their SQL or transaction functions. Private entities, including reference targets, get fresh IDs so a peer's insert can reuse their speculative numbers.

Project recorded row changes onto the latest committed DB. Read only
facts actually produced by the statements, without invoking their SQL or
transaction functions. Private entities, including reference targets,
get fresh IDs so a peer's insert can reuse their speculative numbers.
sourceraw docstring

point-planclj

(point-plan {:keys [query in-args declared-param-oids]} schema)

Recognize the lowered integer-key equality, row marker and single scalar projection. Only this exact query can consume the row-local facts.

Recognize the lowered integer-key equality, row marker and single scalar
projection. Only this exact query can consume the row-local facts.
sourceraw docstring

point-rowsclj

(point-rows {:keys [base plan changes]} key-value)

Apply the same final retractions and assertions as materialize to the requested cardinality-one value on the portal's committed basis.

Apply the same final retractions and assertions as materialize to
the requested cardinality-one value on the portal's committed basis.
sourceraw docstring

rebasedclj

(rebased buffer report)
source

untracked-bufferclj

source

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