Member Junction
    Preparing search index...

    Final SQL + optional parameter array produced by WrapSaveCallForResult and WrapSaveCallWithRecordChange. Returned by GenericDatabaseProvider via SaveSQLResult.

    For SQL Server, parameters carries the statement's typed inputs (the SET @x = @p$n references) and literalSQL the same statement with the values written in; a transaction-group save carries only the literal form. For PostgreSQL, parameters carries the positional or JSON-arg values that bind to the $N placeholders.

    interface SaveSQLFragment {
        literalSQL?: string;
        parameters?: unknown[];
        sql: string;
    }
    Index

    Properties

    literalSQL?: string

    sql with its parameter values written in as literals (see SaveSQLResult.literalSQL).

    parameters?: unknown[]
    sql: string