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

com.vladsch.kotlin.jdbc.SqlQuery.kt Maven / Gradle / Ivy

Go to download

A thin library that exposes JDBC API with the convenience of Kotlin and gets out of the way when not needed.

The newest version!
package com.vladsch.kotlin.jdbc

import java.sql.PreparedStatement

class SqlQuery(
    statement: String,
    params: List = listOf(),
    namedParams: Map = mapOf()

) : SqlQueryBase(statement, params, namedParams) {

    override fun toString(): String {
        return "SqlQuery(statement='$statement', params=${params.map { it.value }}, namedParams=${namedParams.map { it.key to it.value.value }}, replacementMap=$replacementMap, cleanStatement='$cleanStatement')"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy