Skip to main content

explain_index

Function explain_index 

Source
pub fn explain_index<R: TryRead>(
    snap: &R,
    tenant: TenantId,
    labels: &[String],
    where_: &Expr,
) -> Result<Option<String>, QueryError>
Expand description

Name of the first declared index the predicate’s leaves can use, for EXPLAIN’s access path.

§Errors

Returns the underlying storage error from an index-catalog read.