Skip to main content
Version: v10.0.0

JoinBy

Picks the field of a row that holds the joined key or value


Import
import { JoinBy } from "@hyper-fetch/db"

Preview​

type JoinBy<Row,Field,Match> = (row: RowRefs<Row>) => FieldRef<Field, Row[Field] & (Match | null | undefined)>;