Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVA-PIMP relax page filed type #119

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.6.0"
private const val RELEASE_VERSION = "0.5.6"
private const val RELEASE_VERSION = "0.5.7"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ import com.razz.eva.paging.Offset
import com.razz.eva.paging.Page
import com.razz.eva.paging.PagedList
import com.razz.eva.paging.Size
import org.jooq.Field
import org.jooq.Record
import org.jooq.Select
import org.jooq.SelectOrderByStep
import org.jooq.SortOrder
import org.jooq.TableField

abstract class PagingStrategy<ID, M, S, P, R>
where ID : Comparable<ID>,
S : M,
P : Comparable<P>,
R : Record {

protected abstract fun tableOrdering(): TableField<R, P>
protected abstract fun tableOrdering(): Field<P>

protected abstract fun tableId(): TableField<R, ID>
protected abstract fun tableId(): Field<ID>

protected abstract fun tableOffset(offset: Offset): ID

Expand Down
Loading