Skip to main content

Interface: AdvancedRunQueryOptions

server.AdvancedRunQueryOptions

Properties

transactionLimits

Optional transactionLimits: TransactionLimits

Defined in

server/registration.ts:1216


useStaleSnapshot

Optional useStaleSnapshot: boolean

Run a query on a recent snapshot of the database that is not guaranteed to be up-to-date when this transaction commits.

This is an advanced feature which can introduce subtle race conditions, so its use is generally discouraged except for specific use-cases where database read conflicts are expected, e.g. reading from an append-only table with immutable records where the only read conflicts are from concurrent appends.

Defined in

server/registration.ts:1227