explain

@JvmName(name = "explainDocument")
suspend fun explain(verbosity: ExplainVerbosity? = null): Document
inline suspend fun <R : Any> explain(verbosity: ExplainVerbosity? = null): R

Explain the execution plan for this operation with the given verbosity level

Return

the execution plan

Parameters

R

the type of the document class

verbosity

the verbosity of the explanation

See also


suspend fun <R : Any> explain(resultClass: Class<R>, verbosity: ExplainVerbosity? = null): R

Explain the execution plan for this operation with the given verbosity level

Return

the execution plan

Parameters

R

the type of the document class

resultClass

the result document type.

verbosity

the verbosity of the explanation

See also