transaction() — drizzle-orm Function Reference
Architecture documentation for the transaction() function in session.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD b2683e55_fb0b_492c_10bc_a132028550e0["transaction()"] 6e436b7a_26f7_c45b_8fd8_6dc24259253c["PgProxyTransaction"] b2683e55_fb0b_492c_10bc_a132028550e0 -->|defined in| 6e436b7a_26f7_c45b_8fd8_6dc24259253c style b2683e55_fb0b_492c_10bc_a132028550e0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/pg-proxy/session.ts lines 84–88
override async transaction<T>(
_transaction: (tx: PgProxyTransaction<TFullSchema, TSchema>) => Promise<T>,
): Promise<T> {
throw new Error('Transactions are not supported by the Postgres Proxy driver');
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does transaction() do?
transaction() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/pg-proxy/session.ts.
Where is transaction() defined?
transaction() is defined in drizzle-orm/src/pg-proxy/session.ts at line 84.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free