io.tcds.orm.statement.IsNotNull.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
The newest version!
package io.tcds.orm.statement
import io.tcds.orm.Column
import io.tcds.orm.Condition
import io.tcds.orm.Param
data class IsNotNull(val column: Column) : Condition {
override fun toStmt(): String = "${column.name} IS NOT NULL"
override fun toSql(): String = toStmt()
override fun params(): List> = emptyList()
}