Member Junction
    Preparing search index...

    Interface ExecuteSQLOptions

    Configuration options for SQL execution with logging support

    interface ExecuteSQLOptions {
        connectionSource?: object;
        description?: string;
        ignoreLogging?: boolean;
        isMutation?: boolean;
        simpleSQLFallback?: string;
    }
    Index

    Properties

    connectionSource?: object

    Explicit driver handle (pool, client, or transaction). When set, the statement bypasses the ambient transaction — required for teardown/probes after a doomed TX.

    description?: string

    Optional description for this SQL operation, used by logging, if logging is supported by the underlying provider

    ignoreLogging?: boolean

    If true, this statement will not be logged to any logging session

    isMutation?: boolean

    Whether this is a data mutation operation (INSERT/UPDATE/DELETE or SP call that results in any data change)

    simpleSQLFallback?: string

    Simple SQL fallback for loggers to emit logging of a simpler SQL statement that doesn't have extra functionality that isn't important for migrations or other logging purposes.