MCPcopy Index your code
hub / github.com/TanStack/db / fullJoin

Method fullJoin

packages/db/src/query/builder/index.ts:410–419  ·  view source on GitHub ↗

* Perform a FULL JOIN with another table or subquery * * @param source - An object with a single key-value pair where the key is the table alias and the value is a Collection or subquery * @param onCallback - A function that receives table references and returns the join condition * @ret

(
    source: TSource,
    onCallback: JoinOnCallback<
      MergeContextForJoinCallback<TContext, SchemaFromSource<TSource>>
    >,
  )

Source from the content-addressed store, hash-verified

408 * ```
409 */
410 fullJoin<TSource extends Source>(
411 source: TSource,
412 onCallback: JoinOnCallback<
413 MergeContextForJoinCallback<TContext, SchemaFromSource<TSource>>
414 >,
415 ): QueryBuilder<
416 MergeContextWithJoinType<TContext, SchemaFromSource<TSource>, `full`>
417 > {
418 return this.join(source, onCallback, `full`)
419 }
420
421 /**
422 * Filter rows based on a condition

Callers 7

testJoinTypeFunction · 0.80
union-all.test.tsFile · 0.80
join.test-d.tsFile · 0.80
join.test.tsFile · 0.80

Calls 1

joinMethod · 0.95

Tested by 1

testJoinTypeFunction · 0.64