io.tcds.orm.column.BooleanColumn.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.column
import io.tcds.orm.Column
import java.sql.PreparedStatement
class BooleanColumn(name: String, value: (Entity) -> Boolean) : Column(name, value) {
override fun columnType(): String = "BOOLEAN"
override fun bind(stmt: PreparedStatement, index: Int, value: Boolean) = stmt.setBoolean(index, value)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy