prepareStatement

fun prepareStatement(connection: Connection, sqlStatement: String, vararg params: Any): PreparedStatement

Prepare a statement with parameters.

Return

the prepared statement

Parameters

connection

the connection to the database

sqlStatement

the SQL statement

params

the parameters to bind to the statement