Transaction
Functions
Link copied to clipboard
inline fun <R> preparedStatement(@Language(value = "PostgreSQL" ) sql: String, columnNames: Array<out String>, block: SuspendingPreparedStatement.() -> R): R
inline fun <R> preparedStatement(@Language(value = "PostgreSQL" ) sql: String, generatedKeys: Boolean = false, block: SuspendingPreparedStatement.() -> R): R
inline fun <R> preparedStatement(@Language(value = "PostgreSQL" ) sql: String, columnIndexes: IntArray, block: SuspendingPreparedStatement.() -> R): R
Creates a statement from the given SQL statement, runs the block and closes the statement.