Skip to main content
server.Analysis A complete analysis question; reading it performs the work.

Type parameters

Methods

require

▸ require(requirements): Analysis<T> Require evidence of the answer. Repeated calls strengthen the policy. A failed required read prevents the calling mutation from committing.

Parameters

Returns

Analysis<T>

read

▸ read(): Promise<AnalysisRead<T>> Evaluate at the transaction’s basis.

Returns

Promise<AnalysisRead<T>>

explain

▸ explain(): Promise<Record<string, Value>> The declared access path and required input, without reading.

Returns

Promise<Record<string, Value>>