docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/explain.html
fun R2dbcTransaction.explain(analyze: Boolean = false, options: String? = null, body: StatementBuilder.() -> Statement<*>): ExplainSuspendExecutable
Creates an ExplainQuery using the EXPLAIN keyword, which obtains information about a statement execution plan.
Note: This operation is not supported by all vendors, please check the documentation.
analyze
(optional) Whether the statement whose execution plan is being queried should actually be executed as well. Note: The ANALYZE parameter is not supported by all vendors, please check the documentation.
options
(optional) String of comma-separated parameters to append after the EXPLAIN keyword. Note: Optional parameters are not supported by all vendors, please check the documentation.
body
The statement for which an execution plan should be queried. This can be a SELECT, INSERT, REPLACE, UPDATE or DELETE statement.
org.jetbrains.exposed.v1.r2dbc.sql.tests.shared.dml.ExplainTests.testExplainWithStatementsNotExecuted
Generated by Dokka © 2026 Copyright