# prepareStatement

open suspend override fun prepareStatement(sql: String, returnKeys: Boolean): R2dbcPreparedStatementImpl

Returns a precompiled sql statement stored as an R2dbcPreparedStatementImpl implementation.

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

open suspend override fun prepareStatement(sql: String, columns: Array<String>): R2dbcPreparedStatementImpl

Returns a precompiled sql statement stored as an R2dbcPreparedStatementImpl 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.