Skip to main content

select_plan_sql

Function select_plan_sql 

Source
pub fn select_plan_sql(plan: &Value) -> Result<PlanSqlSource>
Expand description

Decide where to read a plan’s SQL from.

sqlInline wins when it holds the whole preview. A truncated inline preview is never returned: it is a fragment of the SQL, and printing a fragment under a command that answers “what would approving this do?” would be worse than printing nothing.