Liking cljdoc? Tell your friends :D

telsos.lib.es.testing


aggclj/s

(agg store agg-type agg-id)

Current aggregate, or nil.

Current aggregate, or nil.
raw docstring

agg-attrsclj/s

(agg-attrs store agg-type agg-id)

Current :attrs of the aggregate, or nil.

Current :attrs of the aggregate, or nil.
raw docstring

agg-attrs-atclj/s

(agg-attrs-at store agg-type agg-id target-ver)

Reconstruct aggregate :attrs at target-ver by replaying the event log. Ver=1 payload is the full initial attrs; each subsequent payload is a delta applied via deep-merge-edns. Returns attrs map, or nil if no event exists at target-ver.

Reconstruct aggregate :attrs at target-ver by replaying the event log.
Ver=1 payload is the full initial attrs; each subsequent payload is a delta
applied via deep-merge-edns. Returns attrs map, or nil if no event exists
at target-ver.
raw docstring

agg-exists?clj/s

(agg-exists? store agg-type agg-id)

True if the aggregate exists in the store.

True if the aggregate exists in the store.
raw docstring

agg-verclj/s

(agg-ver store agg-type agg-id)

Current :ver of the aggregate, or nil.

Current :ver of the aggregate, or nil.
raw docstring

event-atclj/s

(event-at store agg-type agg-id ver)

Event at agg-ver, or nil.

Event at agg-ver, or nil.
raw docstring

event-countclj/s

(event-count store agg-type agg-id)

Number of events recorded for agg-id.

Number of events recorded for agg-id.
raw docstring

event-payload-atclj/s

(event-payload-at store agg-type agg-id ver)

The :payload of the event at agg-ver, or nil if no such event.

The :payload of the event at agg-ver, or nil if no such event.
raw docstring

event-type-atclj/s

(event-type-at store agg-type agg-id ver)

The :type of the event at agg-ver, or nil if no such event.

The :type of the event at agg-ver, or nil if no such event.
raw docstring

event-typesclj/s

(event-types store agg-type agg-id)

Sequence of :type keywords ordered by :agg-ver.

Sequence of :type keywords ordered by :agg-ver.
raw docstring

eventsclj/s

(events store agg-type agg-id)

All events for agg-id ordered by :agg-ver. Returns a vector (empty if none).

All events for agg-id ordered by :agg-ver. Returns a vector (empty if none).
raw docstring

latest-eventclj/s

(latest-event store agg-type agg-id)

Event with the highest :agg-ver, or nil.

Event with the highest :agg-ver, or nil.
raw docstring

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