@@ -58,82 +58,91 @@ abstract class KotlinBaseBuilder<D : AbstractWhereSupport<*>, B : KotlinBaseBuil
58
58
whereApplier.invoke(this )
59
59
}
60
60
61
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
61
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
62
+ " into a lambda and rewriting the condition to use an infix function." )
62
63
fun <T > where (column : BindableColumn <T >, condition : VisitableCondition <T >): B =
63
64
applyToWhere {
64
65
where(column, condition)
65
66
}
66
67
67
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
68
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
69
+ " inside the lambda and rewriting the condition to use an infix function." )
68
70
fun <T > where (column : BindableColumn <T >, condition : VisitableCondition <T >, subCriteria : CriteriaReceiver ): B =
69
71
applyToWhere(subCriteria) { sc ->
70
72
where(column, condition, sc)
71
73
}
72
74
73
75
@Deprecated(
74
- message = " Deprecated in favor of the new where clause DSL. Please see the documentation for new usage. " ,
76
+ message = " Deprecated in favor of the new where clause DSL." ,
75
77
replaceWith = ReplaceWith (" where { existsPredicate }" )
76
78
)
77
79
fun where (existsPredicate : ExistsPredicate ): B =
78
80
applyToWhere {
79
81
where(existsPredicate)
80
82
}
81
83
82
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
84
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the exists expression " +
85
+ " into the lambda." )
83
86
fun where (existsPredicate : ExistsPredicate , subCriteria : CriteriaReceiver ): B =
84
87
applyToWhere(subCriteria) { sc ->
85
88
where(existsPredicate, sc)
86
89
}
87
90
88
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
91
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
92
+ " into a lambda and rewriting the condition to use an infix function." )
89
93
fun <T > and (column : BindableColumn <T >, condition : VisitableCondition <T >): B =
90
94
applyToWhere {
91
95
and (column, condition)
92
96
}
93
97
94
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
98
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
99
+ " inside the lambda and rewriting the condition to use an infix function." )
95
100
fun <T > and (column : BindableColumn <T >, condition : VisitableCondition <T >, subCriteria : CriteriaReceiver ): B =
96
101
applyToWhere(subCriteria) { sc ->
97
102
and (column, condition, sc)
98
103
}
99
104
100
105
@Deprecated(
101
- message = " Deprecated in favor of the new where clause DSL. Please see the documentation for new usage. " ,
106
+ message = " Deprecated in favor of the new where clause DSL." ,
102
107
replaceWith = ReplaceWith (" and { existsPredicate }" )
103
108
)
104
109
fun and (existsPredicate : ExistsPredicate ): B =
105
110
applyToWhere {
106
111
and (existsPredicate)
107
112
}
108
113
109
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
114
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the exists expression " +
115
+ " into the lambda." )
110
116
fun and (existsPredicate : ExistsPredicate , subCriteria : CriteriaReceiver ): B =
111
117
applyToWhere(subCriteria) { sc ->
112
118
and (existsPredicate, sc)
113
119
}
114
120
115
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
121
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
122
+ " into a lambda and rewriting the condition to use an infix function." )
116
123
fun <T > or (column : BindableColumn <T >, condition : VisitableCondition <T >): B =
117
124
applyToWhere {
118
125
or (column, condition)
119
126
}
120
127
121
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
128
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the column and condition " +
129
+ " inside the lambda and rewriting the condition to use an infix function." )
122
130
fun <T > or (column : BindableColumn <T >, condition : VisitableCondition <T >, subCriteria : CriteriaReceiver ): B =
123
131
applyToWhere(subCriteria) { sc ->
124
132
or (column, condition, sc)
125
133
}
126
134
127
135
@Deprecated(
128
- message = " Deprecated in favor of the new where clause DSL. Please see the documentation for new usage. " ,
136
+ message = " Deprecated in favor of the new where clause DSL." ,
129
137
replaceWith = ReplaceWith (" or { existsPredicate }" )
130
138
)
131
139
fun or (existsPredicate : ExistsPredicate ): B =
132
140
applyToWhere {
133
141
or (existsPredicate)
134
142
}
135
143
136
- @Deprecated(" Deprecated in favor of the new where clause DSL. Please see the documentation for new usage." )
144
+ @Deprecated(" Deprecated in favor of the new where clause DSL. Update by moving the exists expression " +
145
+ " into the lambda." )
137
146
fun or (existsPredicate : ExistsPredicate , subCriteria : CriteriaReceiver ): B =
138
147
applyToWhere(subCriteria) { sc ->
139
148
or (existsPredicate, sc)
0 commit comments