* Perform an INNER 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 * @r
(
source: TSource,
onCallback: JoinOnCallback<
MergeContextForJoinCallback<TContext, SchemaFromSource<TSource>>
>,
)
| 382 | * ``` |
| 383 | */ |
| 384 | innerJoin<TSource extends Source>( |
| 385 | source: TSource, |
| 386 | onCallback: JoinOnCallback< |
| 387 | MergeContextForJoinCallback<TContext, SchemaFromSource<TSource>> |
| 388 | >, |
| 389 | ): QueryBuilder< |
| 390 | MergeContextWithJoinType<TContext, SchemaFromSource<TSource>, `inner`> |
| 391 | > { |
| 392 | return this.join(source, onCallback, `inner`) |
| 393 | } |
| 394 | |
| 395 | /** |
| 396 | * Perform a FULL JOIN with another table or subquery |