Skip to content

Commit

Permalink
Fix KConfigurableRootQuery.exists isEmpty -> isNotEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
pot-mot committed Nov 17, 2024
1 parent bbb185b commit bea56d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface KConfigurableRootQuery<E: Any, R> : KTypedRootQuery<R> {
fun exists(con: Connection? = null): Boolean =
limit(1)
.reselect { select(constant(1)) }
.execute(con).isEmpty()
.execute(con).isNotEmpty()

fun <P: Any> fetchPage(
pageIndex: Int,
Expand Down

0 comments on commit bea56d9

Please sign in to comment.