io.tcds.orm.statement.GreaterThen.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of orm Show documentation
Show all versions of orm Show documentation
Kotlin Simple ORM is a simple but powerful database orm for kotlin applications
package io.tcds.orm.statement
import io.tcds.orm.Column
import io.tcds.orm.Condition
import io.tcds.orm.Param
data class GreaterThen(val column: Column, private val value: T) : Condition {
override fun toStmt(): String = "${column.name} > ?"
override fun toSql(): String = "${column.name} > `$value`"
override fun params(): List> = listOf(Param(column, value))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy