Skip to content

Commit

Permalink
refactor: rm deprecated limit method
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiinaKin committed Sep 26, 2024
1 parent 188dd6e commit 06ceffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface PaginationDao {
val offset = (page - 1) * pageSize

val totalRecords: Long = table.selectAll().count()
val query = table.selectAll().limit(pageSize, offset)
val query = table.selectAll().limit(pageSize).offset(offset)

pageRequest.orderBy?.let {
val column = getColumnByName(table, it)
Expand Down

0 comments on commit 06ceffa

Please sign in to comment.