Package net.redstonecraft.sqlorm

Types

Link copied to clipboard
class Database(connection: Connection, dbType: SQLTypeTranslator) : Closeable

This is the entrypoint of the library.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PrimaryKey
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class SQLChar(n: Int)
Link copied to clipboard
annotation class SqlDSL1
Link copied to clipboard
annotation class SqlDSL2
Link copied to clipboard
annotation class SqlDSL3
Link copied to clipboard
annotation class SqlDSL4
Link copied to clipboard
enum SQLType : Enum<SQLType>
Link copied to clipboard
interface SQLTypeTranslator
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class SQLVarchar(n: Int)
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class UnescapedSQL
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Unique

Functions

Link copied to clipboard
fun ResultSet.getValue(key: String, type: KClass<*>): Any?

Properties

Link copied to clipboard
val <T> KProperty<T>.declaringClass: KClass<*>