Blocking Transaction
Functions
Link copied to clipboard
open fun preparedStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String): @NotNull BlockingPreparedStatement
open fun preparedStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String, columnIndexes: @NotNull Array<Int>): @NotNull BlockingPreparedStatement
open fun preparedStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String, @NotNull columnNames: @NotNull Array<@NotNull String>): @NotNull BlockingPreparedStatement
Creates a statement from the given SQL statement.
Link copied to clipboard
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String, @NotNull statementFunction: @NotNull StatementFunction<R, E>): R
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String, columnIndexes: @NotNull Array<Int>, @NotNull statementFunction: @NotNull StatementFunction<R, E>): R
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL" ) @NotNull sql: @NotNull String, @NotNull columnNames: @NotNull Array<@NotNull String>, @NotNull statementFunction: @NotNull StatementFunction<R, E>): R
Creates a statement from the given SQL statement, runs the function and closes the statement.