Metakit / @doeixd/metakit/relation

withRows

function · packages/metakit/src/relation.ts:173

function withRows<Target extends object, Row>(
  row: Target,
  relation: Relation<Row>,
  rows: ReadonlyArray<Row>,
  options?: {
    readonly whole?: boolean
  },
): Target

Attach the rows pointing at row through relation for in-memory evaluation and partial evaluation (whole defaults to true).