ProjectionType<R, O extends ProjectionOutput> class final

A fixed flat SQL layout, result assembler, and typed output field factory.

This object's identity defines UNION compatibility. The assembler receives values already decoded by the binding's expression codecs. Callbacks must be deterministic; closure purity cannot be proven by the ORM. Per-binding Dart mappings belong after SQL set operations.

Constructors

ProjectionType({required List<Slot<Object?>> slots, required R assemble(List<Object?> values), required O fields(ProjectionFields fields)})

Properties

assemble → R Function(List<Object?> values)
final
fields → O Function(ProjectionFields fields)
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → List<Slot<Object?>>
final

Methods

bind(List<SlotBinding<Object?>> bindings) → Projection<R, O>
Captures one complete binding in the descriptor's declared order.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited