QueryCollectionDefinition interface

Module @runic-artifex/views/generated in @runic-artifex/views 0.23.0

interface QueryCollectionDefinition<TRow>

How a generated client decodes a query collection's rows, and the factory of its collections, which the generated client passes in so a View without query collections does not bundle them. Generated code is its only intended caller.

Properties

decode

readonly decode: (wire: unknown) => TRow;

No documentation.

create

readonly create: (scope: QueryCollectionScope, definition: QueryCollectionDefinition<TRow>) => QueryCollection<TRow> & Disposable;

No documentation.