Member Junction
    Preparing search index...

    Interface SaveSQLResult

    Result of save SQL generation. Subclasses populate this from their dialect-specific SQL generators (stored procedure calls, function calls, etc.).

    interface SaveSQLResult {
        extraData?: Record<string, unknown>;
        fullSQL: string;
        literalSQL?: string;
        parameters?: unknown[];
        simpleSQL?: string;
    }
    Index

    Properties

    extraData?: Record<string, unknown>

    Provider-specific extra data (e.g. overlapping-change data for ISA propagation)

    fullSQL: string

    The complete SQL to execute (may include record-change tracking, temp tables, etc.)

    literalSQL?: string

    fullSQL with its parameter values written in as literals, when the provider runs it with parameters and can render it. Logged instead of fullSQL, and shown in error messages.

    parameters?: unknown[]

    Parameterized query values (e.g. [$1,$2] for PG). Null/undefined for inline SQL.

    simpleSQL?: string

    Simpler SQL without record-change wrapping, used for logging/migration replay