You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* For example `Dual.slice(exists(Table.emptySlice().select(op))).selectAll()` generates a SQL with no columns which is simpler.
9
10
*/
10
-
@Deprecated("This causes \"java.lang.IllegalArgumentException: Can't prepare SELECT statement without columns or expressions to retrieve\" in the latest version of Exposed.")
11
-
fun ColumnSet.emptySlice() =
12
-
@Suppress("DEPRECATION_ERROR")
13
-
slice(emptyList())
11
+
@Deprecated(
12
+
"This causes \"java.lang.IllegalArgumentException: Can't prepare SELECT statement without columns or expressions to retrieve\" in the latest version of Exposed. "+
13
+
"Also, the original API in Exposed is removed."
14
+
)
15
+
fun ColumnSet.emptySlice(): FieldSet=
16
+
throwNotImplementedError("The original API in Exposed is removed.")
0 commit comments