Extension-owned durable sidecar API.
Public ext-* helpers are for code running inside an extension callback. They never accept :extension-id from callers; the currently executing extension identity is supplied by com.blockether.vis.internal.extension.
The db-* persistence facade remains the privileged/admin surface for inspecting rows across extensions.
Extension-owned durable sidecar API. Public ext-* helpers are for code running inside an extension callback. They never accept :extension-id from callers; the currently executing extension identity is supplied by com.blockether.vis.internal.extension. The db-* persistence facade remains the privileged/admin surface for inspecting rows across extensions.
(extension-aggregate-create! env row)Append one extension-owned aggregate row. Returns the decoded row. Extension id is always filled from current extension callback context.
Append one extension-owned aggregate row. Returns the decoded row. Extension id is always filled from current extension callback context.
(extension-aggregate-get env query)Return one extension-owned aggregate row by query, or nil. Defaults to the latest row when the query is not unique.
Return one extension-owned aggregate row by query, or nil. Defaults to the latest row when the query is not unique.
(extension-aggregate-put! env row)Upsert one singleton extension-owned aggregate row for key/kind/scope. Returns the decoded row.
Upsert one singleton extension-owned aggregate row for key/kind/scope. Returns the decoded row.
(extension-delete-aggregate! env query)Delete extension-owned aggregate rows matching query. Cross-extension delete is impossible through this API because extension id is runtime-filled.
Delete extension-owned aggregate rows matching query. Cross-extension delete is impossible through this API because extension id is runtime-filled.
(extension-list-aggregates env query)List extension-owned aggregate rows. The current extension id is always applied; normal extension code cannot list another extension's rows.
List extension-owned aggregate rows. The current extension id is always applied; normal extension code cannot list another extension's rows.
(extension-update-aggregate! env query f & args)Atomic singleton update. Reads the current content for query, applies f, and writes the returned value as :content. Query must include :key and :kind.
Atomic singleton update. Reads the current content for query, applies f, and writes the returned value as :content. Query must include :key and :kind.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |