prepareStatement

abstract fun prepareStatement(sql: String, returnKeys: Boolean): JdbcPreparedStatementApi

Returns a precompiled sql statement stored as a JdbcPreparedStatementApi implementation.

To indicate that auto-generated keys should be made available for retrieval, set returnKeys to true.


Returns a precompiled sql statement stored as a JdbcPreparedStatementApi implementation.

To indicate that auto-generated keys should be made available for retrieval, provide the names of the target columns that contain the keys to be returned.