MCPcopy Create free account
hub / github.com/TanStack/db / leftJoin

Function leftJoin

packages/db-ivm/src/operators/join.ts:326–338  ·  view source on GitHub ↗
(
  other: IStreamBuilder<KeyValue<K, V2>>,
)

Source from the content-addressed store, hash-verified

324 * @param other - The other stream to join with
325 */
326export function leftJoin<
327 K,
328 V1 extends T extends KeyValue<infer _KT, infer VT> ? VT : never,
329 V2,
330 T,
331>(
332 other: IStreamBuilder<KeyValue<K, V2>>,
333): PipedOperator<T, KeyValue<K, [V1, V2 | null]>> {
334 return join(other, `left`) as unknown as PipedOperator<
335 T,
336 KeyValue<K, [V1, V2 | null]>
337 >
338}
339
340/**
341 * Joins two input streams (right join)

Callers

nothing calls this directly

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected