~/bend-docscommunity

inspector_query.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.1/inspector_query.bend as Inspector_query

8 imports
import Base
import entity_key.bend as Key
import inspector.bend as I
import inspector_query_projection.bend as Q
import world.bend as W
import component.bend as C
import column.bend as Col
import capabilities.bend as Cap

Types

type LookupError source · line 16 · raw

Data

Detached query results preserve the abstract owner and nominal entity schema. This adapter adds the four methods of pinned System.QueryHandle. It does not grant writes, construct a held mutable view, or choose foreign-instance policy. Detached lookup refusal: MissingEntity includes dead/stale/foreign handles; QueryMismatch means a live entity does not satisfy the declared selection. entityId is a key for diagnostics, not a World authority.

type SingleError source · line 21 · raw

Data

Cardinality refusal: NoEntities for zero matches, MultipleEntities with the actual Nat count for more than one. It carries no live payload owner.

type ReadQuery source · line 27 · raw

@-H:Type -> @-S:Data -> @-V:Data -> Type

Single-family read-only enumeration/lookup capability with one selection mode. Rows are detached Data; raw construction must bind all operations to the same family/mode. Runtime instance validation belongs to its outer wrapper.

type ProjectedRow source · line 96 · raw

@S:Data -> @V:Data -> Data

Generic declaration composition; existing single-family API stays compatible. Detached heterogeneous projection paired with its schema-scoped entity handle. Does not contain a mutable view or an affine component owner.

type WorldRead source · line 101 · raw

@-H:Type -> @-S:Data -> Type

Trusted closed live-handle enumeration/validity operations for composed queries. Raw callbacks must correspond to the same runtime World and thread H; metadata or schema type alone is not a runtime validation check.

type ComposedReadQuery source · line 106 · raw

@-H:Type -> @-S:Data -> @-V:Data -> Type

Read-only query over arbitrary declared projection shapes, with matching enumeration and target lookup. Owns operations, not a runtime World; canonical grants provide checked targets and detached values.

type ScanResult source · line 180 · raw

@-H:Type -> @-S:Data -> @-V:Data -> Type

Private recursive result ABI; public query authority and result types unchanged. Advanced scan accumulator result retaining H and detached projected rows. This carrier adds no target validation beyond the chosen scan/selection route.

Templates

template rows_field source · line 30 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @cap:ReadQuery<H, S, V> -> 0xf435da9e535b3846d643dad16580e35f/capabilities.ValueRead<H, List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>>

template lookup_field source · line 33 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @cap:ReadQuery<H, S, V> -> 0xf435da9e535b3846d643dad16580e35f/inspector.Lookup<H, S, V>

template selection_field source · line 36 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @cap:ReadQuery<H, S, V> -> 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Selection

template each source · line 41 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ReadQuery<H, S, V> -> @owner:H -> Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>)

Enumerate selected detached rows while returning opaque owner H. Canonical grants preserve live-handle traversal order and expose no setters.

template selected source · line 44 · raw

@-S:Data -> @-V:Data -> @accepted:Bool -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @value:0xf435da9e535b3846d643dad16580e35f/inspector.Value<V> -> Result<&2, &2, LookupError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>

template resolved source · line 48 · raw

@-S:Data -> @-V:Data -> @selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Selection -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @value:0xf435da9e535b3846d643dad16580e35f/inspector.Value<V> -> Result<&2, &2, LookupError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>

template got source · line 52 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Selection -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @result:Pair(H, 0xf435da9e535b3846d643dad16580e35f/inspector.Value<V>) -> Pair(H, Result<&2, &2, LookupError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>)

template get source · line 58 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ReadQuery<H, S, V> -> @owner:H -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Result<&2, &2, LookupError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>)

Look up a target through the same declared selection as enumeration. Returns H with Done row, MissingEntity or QueryMismatch. Canonical lookup rejects stale/foreign handles before treating absence as optional membership.

template single_rows source · line 61 · raw

@-S:Data -> @-V:Data -> @rows:List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>> -> Result<&2, &2, SingleError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>

template single_observed source · line 66 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @result:Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>) -> Pair(H, Result<&2, &2, SingleError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>)

template single source · line 71 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ReadQuery<H, S, V> -> @owner:H -> Pair(H, Result<&2, &2, SingleError, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>)

Return H and exactly one detached row, or NoEntities/MultipleEntities. Does not pick an arbitrary first row when the query matches multiple entities.

template optional_rows source · line 73 · raw

@-S:Data -> @-V:Data -> @rows:List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>> -> Result<&2, &2, SingleError, Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>>

template optional_observed source · line 78 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @result:Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>) -> Pair(H, Result<&2, &2, SingleError, Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>>)

template single_optional source · line 83 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ReadQuery<H, S, V> -> @owner:H -> Pair(H, Result<&2, &2, SingleError, Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Row<S, V>>>)

Return H and None for zero matches, Some row for one, or MultipleEntities for more than one. Empty is a successful result, unlike single.

template grant source · line 90 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-Payload:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, Payload> -> Store) -> @-project:(@_:Payload -> Pair(Payload, V)) -> @-family:0xf435da9e535b3846d643dad16580e35f/component.Family<S, Store, Rest, Payload, V, Token, take, put, project> -> @-mode:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Selection -> ReadQuery<0xf435da9e535b3846d643dad16580e35f/inspector.Frame<S, Store, R, E>, S, V>

Trusted setup binds enumeration and exact lookup to the same family/mode. Trusted setup binding enumeration and lookup to one component family/mode. Projection must return the affine payload owner alongside Data V. Does not execute a query or advance registered system cursors while constructing it.

template composed_handles_field source · line 108 · raw

@-H:Type -> @-S:Data -> @value:WorldRead<H, S> -> @_:H -> Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>>)

template composed_valid_field source · line 111 · raw

@-H:Type -> @-S:Data -> @value:WorldRead<H, S> -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)

template composed_each_field source · line 114 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @value:ComposedReadQuery<H, S, V> -> @_:H -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_get_field source · line 117 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @value:ComposedReadQuery<H, S, V> -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template each_composed source · line 122 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ComposedReadQuery<H, S, V> -> @owner:H -> Pair(H, List<&2, ProjectedRow<S, V>>)

Enumerate matching projected rows, returning the opaque owner. Canonical enumeration preserves its World handle order and projection shape.

template get_composed source · line 127 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ComposedReadQuery<H, S, V> -> @owner:H -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

Return H with detached projection or MissingEntity/QueryMismatch. The canonical grant checks live target validity before selection/projection; no component write operation or payload owner is returned.

template composed_single_rows source · line 129 · raw

@-S:Data -> @-V:Data -> @rows:List<&2, ProjectedRow<S, V>> -> Result<&2, &2, SingleError, ProjectedRow<S, V>>

template composed_single_observed source · line 134 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @observed:Pair(H, List<&2, ProjectedRow<S, V>>) -> Pair(H, Result<&2, &2, SingleError, ProjectedRow<S, V>>)

template single_composed source · line 139 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ComposedReadQuery<H, S, V> -> @owner:H -> Pair(H, Result<&2, &2, SingleError, ProjectedRow<S, V>>)

Require exactly one composed row; zero yields NoEntities and multiple yields MultipleEntities with full count. Retains owner H on every result.

template composed_optional_rows source · line 141 · raw

@-S:Data -> @-V:Data -> @rows:List<&2, ProjectedRow<S, V>> -> Result<&2, &2, SingleError, Maybe<&2, ProjectedRow<S, V>>>

template composed_optional_observed source · line 146 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @observed:Pair(H, List<&2, ProjectedRow<S, V>>) -> Pair(H, Result<&2, &2, SingleError, Maybe<&2, ProjectedRow<S, V>>>)

template single_optional_composed source · line 151 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-cap:ComposedReadQuery<H, S, V> -> @owner:H -> Pair(H, Result<&2, &2, SingleError, Maybe<&2, ProjectedRow<S, V>>>)

Return None for zero composed rows or Some for exactly one; multiple matches return MultipleEntities. Retains H and never selects an arbitrary row.

template composed_lookup_projected source · line 155 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @observed:Pair(H, V) -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

One declaration is used for both structural/lifecycle membership paths.

template composed_mismatched source · line 158 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @owner:H -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_missing source · line 161 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @owner:H -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_lookup_matched source · line 164 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @project:(@_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, V)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @observed:Pair(H, Bool) -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_lookup_valid source · line 168 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @matches:(@_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @project:(@_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, V)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @observed:Pair(H, Bool) -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_lookup_target source · line 172 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @-world:WorldRead<H, S> -> @owner:H -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_lookup source · line 174 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @-world:WorldRead<H, S> -> @owner:H -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, V>>)

template composed_unwrap_scan source · line 183 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @result:ScanResult<H, S, V> -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_fold_projected source · line 188 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @rows:List<&2, ProjectedRow<S, V>> -> @observed:Pair(H, V) -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_fold_matched source · line 191 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-project:(@_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, V)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @rows:List<&2, ProjectedRow<S, V>> -> @observed:Pair(H, Bool) -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_fold_step source · line 195 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @acc:Pair(H, List<&2, ProjectedRow<S, V>>) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_fold_done source · line 198 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @observed:Pair(H, List<&2, ProjectedRow<S, V>>) -> ScanResult<H, S, V>

template composed_scan source · line 205 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @targets:List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>> -> @owner:H -> @rows:List<&2, ProjectedRow<S, V>> -> ScanResult<H, S, V>

Engine scan adapter over supplied targets and a reversed row accumulator. Canonical callers supply live targets and an empty initial accumulator. This helper does not independently validate arbitrary handles; prefer each_composed on a canonical composed grant for application inspection.

template composed_scanned source · line 207 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @observed:Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>>) -> Pair(H, List<&2, ProjectedRow<S, V>>)

template composed_enumerate source · line 210 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @-world:WorldRead<H, S> -> @owner:H -> Pair(H, List<&2, ProjectedRow<S, V>>)

template grant_composed source · line 216 · raw

@-H:Type -> @-S:Data -> @-V:Data -> @-selection:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, V> -> @-world:WorldRead<H, S> -> ComposedReadQuery<H, S, V>

Trusted constructor combining matching WorldRead and declared selection. Target lookup validates before matching/projecting; enumeration uses the supplied live-handle route. Callbacks must preserve owner correspondence. Source-level composition: ordinary-query-observable.inspect_query.

template composed_runtime_match_right source · line 224 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-Arg:Data -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> @observed:Pair(H, Bool) -> Pair(H, Bool)

Runtime-data composed relation path. Static component authority remains a DeclaredSelection Type, while a Data relation argument is shared by the query's enumeration and lookup closures. The two static relation workers preserve the existing short-circuit and projection order without storing or duplicating affine closures.

template composed_runtime_matches_target source · line 228 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> @owner:H -> Pair(H, Bool)

template composed_runtime_projected_right source · line 230 · raw

@-H:Type -> @-A:Data -> @-B:Data -> @left:A -> @observed:Pair(H, B) -> Pair(H, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>)

template composed_runtime_projected_left source · line 233 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> @observed:Pair(H, A) -> Pair(H, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>)

template composed_runtime_project source · line 236 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> @owner:H -> Pair(H, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>)

template composed_runtime_scan_projected source · line 238 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @rows:List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>> -> @continue:(@_:H -> @_:List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>> -> ScanResult<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>) -> @observed:Pair(H, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>) -> ScanResult<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>

template composed_runtime_scan_matched source · line 241 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @rows:List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>> -> @continue:(@_:H -> @_:List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>> -> ScanResult<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>) -> @argument:Arg -> @observed:Pair(H, Bool) -> ScanResult<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>

template composed_runtime_scan source · line 245 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @targets:List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>> -> @+argument:Arg -> @owner:H -> @rows:List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>> -> ScanResult<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>

template composed_runtime_scanned source · line 249 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @observed:Pair(H, List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>>) -> @+argument:Arg -> Pair(H, List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template composed_runtime_enumerate source · line 252 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @-world:WorldRead<H, S> -> @argument:Arg -> @owner:H -> Pair(H, List<&2, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template composed_runtime_lookup_selected source · line 254 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> @observed:Pair(H, Bool) -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template composed_runtime_lookup_valid source · line 258 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @+argument:Arg -> @observed:Pair(H, Bool) -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template composed_runtime_lookup_target source · line 262 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @-world:WorldRead<H, S> -> @owner:H -> @+target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template composed_runtime_lookup source · line 264 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @-world:WorldRead<H, S> -> @owner:H -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @argument:Arg -> Pair(H, Result<&2, &2, LookupError, ProjectedRow<S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>>)

template grant_composed_runtime source · line 270 · raw

@-H:Type -> @-S:Data -> @-A:Data -> @-B:Data -> @-Arg:Data -> @-component:0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.DeclaredSelection<H, S, A> -> @-world:WorldRead<H, S> -> @-relation_matches:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, Bool)) -> @-relation_project:(@_:Arg -> @_:H -> @_:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(H, B)) -> @+argument:Arg -> ComposedReadQuery<H, S, 0xf435da9e535b3846d643dad16580e35f/inspector_query_projection.Product<A, B>>

Advanced composed query adding a runtime argument/relation selection to the component projection. Retains H while combining detached results; trusted World and selection callbacks must refer to the same runtime. Does not register a reader, consume a system cursor or expose mutation authority.