Skip to main content
Version: Next

EmExecuteOptions

Options for the modern signature of SqlEntityManager.execute().

Hierarchy

Index

Properties

optionalinheritedinflightQueryAbortStrategy

inflightQueryAbortStrategy?: InflightQueryAbortStrategy

Strategy used when the signal fires while the query is in flight. See InflightQueryAbortStrategy for caveats around streams and MongoDB.

optionalloggerContext

loggerContext?: LoggingOptions

Logger context payload forwarded to Logger.logQuery.

optionalmethod

method?: get | all | run

Result shape — 'all' for rows, 'get' for a single row, 'run' for affected count. Defaults to 'all'.

optionalinheritedsignal

signal?: AbortSignal

AbortSignal that cancels the query when fired.