All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tcds.orm.statement.GreaterThen.kt Maven / Gradle / Ivy

Go to download

Kotlin Simple ORM is a simple but powerful database orm for kotlin applications

There is a newer version: 0.3.14
Show newest version
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