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

Function innerJoin

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

Source from the content-addressed store, hash-verified

288 * @param other - The other stream to join with
289 */
290export function innerJoin<
291 K,
292 V1 extends T extends KeyValue<infer _KT, infer VT> ? VT : never,
293 V2,
294 T,
295>(
296 other: IStreamBuilder<KeyValue<K, V2>>,
297): PipedOperator<T, KeyValue<K, [V1, V2]>> {
298 return join(other, `inner`) as unknown as PipedOperator<
299 T,
300 KeyValue<K, [V1, V2]>
301 >
302}
303
304/**
305 * Joins two input streams (anti join)

Callers 3

orderByFunction · 0.85
orderByWithIndexFunction · 0.85
filterByFunction · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected