Member Junction
    Preparing search index...
    interface StatementResult {
        convertedSQL: string;
        error?: string;
        index: number;
        llmModel?: string;
        method: "sqlglot" | "llm" | "passthrough" | "failed";
        originalSQL: string;
        success: boolean;
        verified: boolean;
    }
    Index

    Properties

    convertedSQL: string

    Converted SQL statement (may be from sqlglot or LLM)

    error?: string

    Error message if failed

    index: number

    0-based index of statement in source file

    llmModel?: string

    LLM model used if LLM fallback was needed

    method: "sqlglot" | "llm" | "passthrough" | "failed"

    How the statement was converted

    originalSQL: string

    Original SQL statement

    success: boolean

    Whether conversion succeeded

    verified: boolean

    Whether verification (DB execution) passed