@@ -20,7 +20,6 @@ import org.mybatis.dynamic.sql.AndOrCriteriaGroup
20
20
import org.mybatis.dynamic.sql.BasicColumn
21
21
import org.mybatis.dynamic.sql.BindableColumn
22
22
import org.mybatis.dynamic.sql.Constant
23
- import org.mybatis.dynamic.sql.ExistsPredicate
24
23
import org.mybatis.dynamic.sql.SortSpecification
25
24
import org.mybatis.dynamic.sql.SqlBuilder
26
25
import org.mybatis.dynamic.sql.SqlColumn
@@ -41,7 +40,6 @@ import org.mybatis.dynamic.sql.select.function.OperatorFunction
41
40
import org.mybatis.dynamic.sql.select.function.Substring
42
41
import org.mybatis.dynamic.sql.select.function.Subtract
43
42
import org.mybatis.dynamic.sql.select.function.Upper
44
- import org.mybatis.dynamic.sql.select.join.EqualTo
45
43
import org.mybatis.dynamic.sql.util.kotlin.GroupingCriteriaCollector
46
44
import org.mybatis.dynamic.sql.util.kotlin.GroupingCriteriaReceiver
47
45
import org.mybatis.dynamic.sql.util.kotlin.KotlinSubQueryBuilder
@@ -78,10 +76,6 @@ import org.mybatis.dynamic.sql.where.condition.IsNotLikeCaseInsensitive
78
76
import org.mybatis.dynamic.sql.where.condition.IsNotNull
79
77
import org.mybatis.dynamic.sql.where.condition.IsNull
80
78
81
- // join support
82
- @Deprecated(" Please use the infix function in the JoinCollector" )
83
- fun equalTo (column : BasicColumn ): EqualTo = SqlBuilder .equalTo(column)
84
-
85
79
// support for criteria without initial conditions
86
80
fun and (receiver : GroupingCriteriaReceiver ): AndOrCriteriaGroup =
87
81
with (GroupingCriteriaCollector ().apply (receiver)) {
@@ -172,16 +166,6 @@ fun <T> isNull(): IsNull<T> = SqlBuilder.isNull()
172
166
173
167
fun <T > isNotNull (): IsNotNull <T > = SqlBuilder .isNotNull()
174
168
175
- @Deprecated(" Deprecated in favor of the new where clause DSL. " +
176
- " Rewrite to use the exists function inside a lambda." )
177
- fun exists (subQuery : KotlinSubQueryBuilder .() -> Unit ): ExistsPredicate =
178
- SqlBuilder .exists(KotlinSubQueryBuilder ().apply (subQuery))
179
-
180
- @Deprecated(" Deprecated in favor of the new where clause DSL. " +
181
- " Rewrite to use the exists function inside a \" not\" expression." )
182
- fun notExists (subQuery : KotlinSubQueryBuilder .() -> Unit ): ExistsPredicate =
183
- SqlBuilder .notExists(KotlinSubQueryBuilder ().apply (subQuery))
184
-
185
169
fun <T > isEqualTo (value : T & Any ): IsEqualTo <T > = SqlBuilder .isEqualTo(value)
186
170
187
171
fun <T > isEqualTo (subQuery : KotlinSubQueryBuilder .() -> Unit ): IsEqualToWithSubselect <T > =
0 commit comments