Skip to main content

analyze_joins

Function analyze_joins 

Source
pub fn analyze_joins(
    select: &Select,
) -> Result<Option<MultiJoinAnalysis>, ParseError>
Expand description

Analyze a SELECT statement for all join steps (multi-way).

Returns None if the query has no joins. For a single join this returns a MultiJoinAnalysis with one step, making it backward compatible with analyze_join().

ยงErrors

Returns ParseError::StreamingError if any join constraint is not supported or key columns cannot be extracted.