File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
main/kotlin/org/mybatis/dynamic/sql/util/kotlin
test/kotlin/examples/kotlin/spring/canonical Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -338,10 +338,6 @@ open class GroupingCriteriaCollector : SubCriteriaCollector() {
338338
339339 fun <T : Any > BindableColumn<T>.isNotInWhenPresent (vararg values : T ? ) = isNotInWhenPresent(values.asList())
340340
341- @JvmName(" isNotInArrayWhenPresent" )
342- infix fun <T : Any > BindableColumn<T>.isNotInWhenPresent (values : Array <out T ?>? ) =
343- invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotInWhenPresent(values?.asList()))
344-
345341 infix fun <T : Any > BindableColumn<T>.isNotInWhenPresent (values : Collection <T ?>? ) =
346342 invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotInWhenPresent(values))
347343
Original file line number Diff line number Diff line change @@ -1353,7 +1353,7 @@ open class InfixElementsTest {
13531353 fun search (vararg names : String? ) {
13541354 val selectStatement = select(firstName) {
13551355 from(person)
1356- where { firstName isNotInWhenPresent names }
1356+ where { firstName isNotInWhenPresent names.asList() }
13571357 orderBy(id)
13581358 }
13591359
@@ -1375,7 +1375,7 @@ open class InfixElementsTest {
13751375 from(person)
13761376 where {
13771377 id isLessThan 10
1378- and { firstName isNotInWhenPresent null as Array <String >? }
1378+ and { firstName isNotInWhenPresent null as List <String >? }
13791379 }
13801380 orderBy(id)
13811381 }
You can’t perform that action at this time.
0 commit comments