The native transaction object supplied by a configured Drizzle database.
This derives the callback parameter structurally, without importing a
dialect- or version-specific Drizzle type into production source. It keeps
schema/query inference while excluding operations available only on the
outer database (for example SQLite Proxy's batch()).
Type Parameters
TDatabaseextendsobject
The application's configured outer Drizzle database type
The native transaction object supplied by a configured Drizzle database.
This derives the callback parameter structurally, without importing a dialect- or version-specific Drizzle type into production source. It keeps schema/query inference while excluding operations available only on the outer database (for example SQLite Proxy's
batch()).