function defineTableProjection
defineTableProjection<
Row,
Input,
Columns extends ProjectionColumns<Row>,
>
(
table: Table<Row, Input>,
columns: Columns,
): TableProjection<Row, Columns>

Define an explicit physical-column projection and reuse the table's read transforms without loading or decrypting the rest of the row.

Type Parameters

Row
Input
Columns extends ProjectionColumns<Row>

Parameters

table: Table<Row, Input>
columns: Columns

Return Type

Usage

import { defineTableProjection } from "doc.ts";