@@ -82,6 +82,10 @@ public static <R> FromGatherer<R> selectDistinct(SelectDSL<R> selectDSL, BasicCo
82
82
.build ();
83
83
}
84
84
85
+ public QueryExpressionWhereBuilder where () {
86
+ return new QueryExpressionWhereBuilder ();
87
+ }
88
+
85
89
public <T > QueryExpressionWhereBuilder where (BindableColumn <T > column , VisitableCondition <T > condition ) {
86
90
return new QueryExpressionWhereBuilder (column , condition );
87
91
}
@@ -261,6 +265,10 @@ public FromGatherer<R> build() {
261
265
262
266
public class QueryExpressionWhereBuilder extends AbstractWhereDSL <QueryExpressionWhereBuilder >
263
267
implements Buildable <R > {
268
+ private <T > QueryExpressionWhereBuilder () {
269
+ buildDelegateMethod = this ::internalBuild ;
270
+ }
271
+
264
272
private <T > QueryExpressionWhereBuilder (BindableColumn <T > column , VisitableCondition <T > condition ) {
265
273
super (column , condition );
266
274
buildDelegateMethod = this ::internalBuild ;
@@ -413,6 +421,11 @@ private R internalbuild() {
413
421
return selectDSL .build ();
414
422
}
415
423
424
+ public QueryExpressionWhereBuilder where () {
425
+ joinModel = buildJoinModel ();
426
+ return new QueryExpressionWhereBuilder ();
427
+ }
428
+
416
429
public <T > QueryExpressionWhereBuilder where (BindableColumn <T > column , VisitableCondition <T > condition ) {
417
430
joinModel = buildJoinModel ();
418
431
return new QueryExpressionWhereBuilder (column , condition );
0 commit comments