from<R> method

ProjectionFromBuilder<Schema<R>, R, (V0, V1)> from<R>(
  1. Schema<R> from
)

Create a from builder.

Implementation

ProjectionFromBuilder<Schema<R>, R, (V0, V1)> from<R>(Schema<R> from) {
  final selecting = config.selecting! as _Selecting;
  return ProjectionFromBuilder(
    executor,
    config: config.copyWith({
      #selecting: SelectableResult<(V0, V1)>([selecting.s0!, selecting.s1!]),
      #from: from.$,
    }),
  );
}