@@ -243,7 +243,7 @@ class GroupingCriteriaCollector {
243
243
244
244
fun BindableColumn <* >.isNotNull () = invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotNull())
245
245
246
- infix fun <T : Any > BindableColumn<T>.isEqualTo (value : T ) =
246
+ infix fun <T > BindableColumn<T>.isEqualTo (value : T & Any ) =
247
247
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isEqualTo(value))
248
248
249
249
infix fun BindableColumn <* >.isEqualTo (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -252,10 +252,10 @@ class GroupingCriteriaCollector {
252
252
infix fun BindableColumn <* >.isEqualTo (column : BasicColumn ) =
253
253
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isEqualTo(column))
254
254
255
- infix fun <T : Any > BindableColumn<T>.isEqualToWhenPresent (value : T ? ) =
255
+ infix fun <T > BindableColumn<T>.isEqualToWhenPresent (value : T ? ) =
256
256
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isEqualToWhenPresent(value))
257
257
258
- infix fun <T : Any > BindableColumn<T>.isNotEqualTo (value : T ) =
258
+ infix fun <T > BindableColumn<T>.isNotEqualTo (value : T & Any ) =
259
259
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotEqualTo(value))
260
260
261
261
infix fun BindableColumn <* >.isNotEqualTo (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -264,10 +264,10 @@ class GroupingCriteriaCollector {
264
264
infix fun BindableColumn <* >.isNotEqualTo (column : BasicColumn ) =
265
265
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotEqualTo(column))
266
266
267
- infix fun <T : Any > BindableColumn<T>.isNotEqualToWhenPresent (value : T ? ) =
267
+ infix fun <T > BindableColumn<T>.isNotEqualToWhenPresent (value : T ? ) =
268
268
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotEqualToWhenPresent(value))
269
269
270
- infix fun <T : Any > BindableColumn<T>.isGreaterThan (value : T ) =
270
+ infix fun <T > BindableColumn<T>.isGreaterThan (value : T & Any ) =
271
271
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThan(value))
272
272
273
273
infix fun BindableColumn <* >.isGreaterThan (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -276,10 +276,10 @@ class GroupingCriteriaCollector {
276
276
infix fun BindableColumn <* >.isGreaterThan (column : BasicColumn ) =
277
277
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThan(column))
278
278
279
- infix fun <T : Any > BindableColumn<T>.isGreaterThanWhenPresent (value : T ? ) =
279
+ infix fun <T > BindableColumn<T>.isGreaterThanWhenPresent (value : T ? ) =
280
280
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThanWhenPresent(value))
281
281
282
- infix fun <T : Any > BindableColumn<T>.isGreaterThanOrEqualTo (value : T ) =
282
+ infix fun <T > BindableColumn<T>.isGreaterThanOrEqualTo (value : T & Any ) =
283
283
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThanOrEqualTo(value))
284
284
285
285
infix fun BindableColumn <* >.isGreaterThanOrEqualTo (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -288,10 +288,10 @@ class GroupingCriteriaCollector {
288
288
infix fun BindableColumn <* >.isGreaterThanOrEqualTo (column : BasicColumn ) =
289
289
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThanOrEqualTo(column))
290
290
291
- infix fun <T : Any > BindableColumn<T>.isGreaterThanOrEqualToWhenPresent (value : T ? ) =
291
+ infix fun <T > BindableColumn<T>.isGreaterThanOrEqualToWhenPresent (value : T ? ) =
292
292
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isGreaterThanOrEqualToWhenPresent(value))
293
293
294
- infix fun <T : Any > BindableColumn<T>.isLessThan (value : T ) =
294
+ infix fun <T > BindableColumn<T>.isLessThan (value : T & Any ) =
295
295
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThan(value))
296
296
297
297
infix fun BindableColumn <* >.isLessThan (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -300,10 +300,10 @@ class GroupingCriteriaCollector {
300
300
infix fun BindableColumn <* >.isLessThan (column : BasicColumn ) =
301
301
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThan(column))
302
302
303
- infix fun <T : Any > BindableColumn<T>.isLessThanWhenPresent (value : T ? ) =
303
+ infix fun <T > BindableColumn<T>.isLessThanWhenPresent (value : T ? ) =
304
304
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThanWhenPresent(value))
305
305
306
- infix fun <T : Any > BindableColumn<T>.isLessThanOrEqualTo (value : T ) =
306
+ infix fun <T > BindableColumn<T>.isLessThanOrEqualTo (value : T & Any ) =
307
307
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThanOrEqualTo(value))
308
308
309
309
infix fun BindableColumn <* >.isLessThanOrEqualTo (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
@@ -312,66 +312,66 @@ class GroupingCriteriaCollector {
312
312
infix fun BindableColumn <* >.isLessThanOrEqualTo (column : BasicColumn ) =
313
313
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThanOrEqualTo(column))
314
314
315
- infix fun <T : Any > BindableColumn<T>.isLessThanOrEqualToWhenPresent (value : T ? ) =
315
+ infix fun <T > BindableColumn<T>.isLessThanOrEqualToWhenPresent (value : T ? ) =
316
316
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLessThanOrEqualToWhenPresent(value))
317
317
318
- fun <T : Any > BindableColumn<T>.isIn (vararg values : T ) = isIn(values.asList())
318
+ fun <T > BindableColumn<T>.isIn (vararg values : T & Any ) = isIn(values.asList())
319
319
320
- infix fun <T : Any > BindableColumn<T>.isIn (values : Collection <T >) =
320
+ infix fun <T > BindableColumn<T>.isIn (values : Collection <T & Any >) =
321
321
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isIn(values))
322
322
323
323
infix fun BindableColumn <* >.isIn (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
324
324
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isIn(subQuery))
325
325
326
- fun <T : Any > BindableColumn<T>.isInWhenPresent (vararg values : T ? ) = isInWhenPresent(values.asList())
326
+ fun <T > BindableColumn<T>.isInWhenPresent (vararg values : T ? ) = isInWhenPresent(values.asList())
327
327
328
- infix fun <T : Any > BindableColumn<T>.isInWhenPresent (values : Collection <T ?>? ) =
328
+ infix fun <T > BindableColumn<T>.isInWhenPresent (values : Collection <T ?>? ) =
329
329
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isInWhenPresent(values))
330
330
331
- fun <T : Any > BindableColumn<T>.isNotIn (vararg values : T ) = isNotIn(values.asList())
331
+ fun <T > BindableColumn<T>.isNotIn (vararg values : T & Any ) = isNotIn(values.asList())
332
332
333
- infix fun <T : Any > BindableColumn<T>.isNotIn (values : Collection <T >) =
333
+ infix fun <T > BindableColumn<T>.isNotIn (values : Collection <T & Any >) =
334
334
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotIn(values))
335
335
336
336
infix fun BindableColumn <* >.isNotIn (subQuery : KotlinSubQueryBuilder .() -> Unit ) =
337
337
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotIn(subQuery))
338
338
339
- fun <T : Any > BindableColumn<T>.isNotInWhenPresent (vararg values : T ? ) = isNotInWhenPresent(values.asList())
339
+ fun <T > BindableColumn<T>.isNotInWhenPresent (vararg values : T ? ) = isNotInWhenPresent(values.asList())
340
340
341
- infix fun <T : Any > BindableColumn<T>.isNotInWhenPresent (values : Collection <T ?>? ) =
341
+ infix fun <T > BindableColumn<T>.isNotInWhenPresent (values : Collection <T ?>? ) =
342
342
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotInWhenPresent(values))
343
343
344
- infix fun <T : Any > BindableColumn<T>.isBetween (value1 : T ) =
345
- SecondValueCollector <T > {
344
+ infix fun <T > BindableColumn<T>.isBetween (value1 : T & Any ) =
345
+ SecondValueCollector <T & Any > {
346
346
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isBetween(value1).and (it))
347
347
}
348
348
349
- infix fun <T : Any > BindableColumn<T>.isBetweenWhenPresent (value1 : T ? ) =
349
+ infix fun <T > BindableColumn<T>.isBetweenWhenPresent (value1 : T ? ) =
350
350
NullableSecondValueCollector <T > {
351
351
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isBetweenWhenPresent(value1).and (it))
352
352
}
353
353
354
- infix fun <T : Any > BindableColumn<T>.isNotBetween (value1 : T ) =
355
- SecondValueCollector <T > {
354
+ infix fun <T > BindableColumn<T>.isNotBetween (value1 : T & Any ) =
355
+ SecondValueCollector <T & Any > {
356
356
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotBetween(value1).and (it))
357
357
}
358
358
359
- infix fun <T : Any > BindableColumn<T>.isNotBetweenWhenPresent (value1 : T ? ) =
359
+ infix fun <T > BindableColumn<T>.isNotBetweenWhenPresent (value1 : T ? ) =
360
360
NullableSecondValueCollector <T > {
361
361
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotBetweenWhenPresent(value1).and (it))
362
362
}
363
363
364
364
// for string columns, but generic for columns with type handlers
365
- infix fun <T : Any > BindableColumn<T>.isLike (value : T ) =
365
+ infix fun <T > BindableColumn<T>.isLike (value : T & Any ) =
366
366
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLike(value))
367
367
368
- infix fun <T : Any > BindableColumn<T>.isLikeWhenPresent (value : T ? ) =
368
+ infix fun <T > BindableColumn<T>.isLikeWhenPresent (value : T ? ) =
369
369
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isLikeWhenPresent(value))
370
370
371
- infix fun <T : Any > BindableColumn<T>.isNotLike (value : T ) =
371
+ infix fun <T > BindableColumn<T>.isNotLike (value : T & Any ) =
372
372
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotLike(value))
373
373
374
- infix fun <T : Any > BindableColumn<T>.isNotLikeWhenPresent (value : T ? ) =
374
+ infix fun <T > BindableColumn<T>.isNotLikeWhenPresent (value : T ? ) =
375
375
invoke(org.mybatis.dynamic .sql.util.kotlin.elements.isNotLikeWhenPresent(value))
376
376
377
377
// shortcuts for booleans
0 commit comments