@@ -24,6 +24,7 @@ import type {
24
24
GroupByCallback ,
25
25
JoinOnCallback ,
26
26
MergeContext ,
27
+ MergeContextForJoinCallback ,
27
28
MergeContextWithJoinType ,
28
29
OrderByCallback ,
29
30
OrderByOptions ,
@@ -142,7 +143,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
142
143
> (
143
144
source : TSource ,
144
145
onCallback : JoinOnCallback <
145
- MergeContext < TContext , SchemaFromSource < TSource > >
146
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
146
147
> ,
147
148
type : TJoinType = `left` as TJoinType
148
149
) : QueryBuilder <
@@ -154,7 +155,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
154
155
const currentAliases = this . _getCurrentAliases ( )
155
156
const newAliases = [ ...currentAliases , alias ]
156
157
const refProxy = createRefProxy ( newAliases ) as RefProxyForContext <
157
- MergeContext < TContext , SchemaFromSource < TSource > >
158
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
158
159
>
159
160
160
161
// Get the join condition expression
@@ -209,7 +210,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
209
210
leftJoin < TSource extends Source > (
210
211
source : TSource ,
211
212
onCallback : JoinOnCallback <
212
- MergeContext < TContext , SchemaFromSource < TSource > >
213
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
213
214
>
214
215
) : QueryBuilder <
215
216
MergeContextWithJoinType < TContext , SchemaFromSource < TSource > , `left`>
@@ -235,7 +236,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
235
236
rightJoin < TSource extends Source > (
236
237
source : TSource ,
237
238
onCallback : JoinOnCallback <
238
- MergeContext < TContext , SchemaFromSource < TSource > >
239
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
239
240
>
240
241
) : QueryBuilder <
241
242
MergeContextWithJoinType < TContext , SchemaFromSource < TSource > , `right`>
@@ -261,7 +262,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
261
262
innerJoin < TSource extends Source > (
262
263
source : TSource ,
263
264
onCallback : JoinOnCallback <
264
- MergeContext < TContext , SchemaFromSource < TSource > >
265
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
265
266
>
266
267
) : QueryBuilder <
267
268
MergeContextWithJoinType < TContext , SchemaFromSource < TSource > , `inner`>
@@ -287,7 +288,7 @@ export class BaseQueryBuilder<TContext extends Context = Context> {
287
288
fullJoin < TSource extends Source > (
288
289
source : TSource ,
289
290
onCallback : JoinOnCallback <
290
- MergeContext < TContext , SchemaFromSource < TSource > >
291
+ MergeContextForJoinCallback < TContext , SchemaFromSource < TSource > >
291
292
>
292
293
) : QueryBuilder <
293
294
MergeContextWithJoinType < TContext , SchemaFromSource < TSource > , `full`>
0 commit comments