setParameters

fun setParameters(params: Array<out Any?>)(source)

Sets the parameters for this query.

The parameters are set in the order they are passed in, supported types are implementation-specific, see PreparedStatement.setObject and its implementation by your JDBC driver.

Batching support

This function supports query batching, you can call this function to set the parameters, and then call addBatch (and executeBatch when finished adding all the queries), see Database/BlockingDatabase for more details.

See also