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

Function antiJoin

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

Source from the content-addressed store, hash-verified

306 * @param other - The other stream to join with
307 */
308export function antiJoin<
309 K,
310 V1 extends T extends KeyValue<infer _KT, infer VT> ? VT : never,
311 V2,
312 T,
313>(
314 other: IStreamBuilder<KeyValue<K, V2>>,
315): PipedOperator<T, KeyValue<K, [V1, null]>> {
316 return join(other, `anti`) as unknown as PipedOperator<
317 T,
318 KeyValue<K, [V1, null]>
319 >
320}
321
322/**
323 * Joins two input streams (left join)

Callers

nothing calls this directly

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected