SQLiteDOTransaction Class — drizzle-orm Architecture
Architecture documentation for the SQLiteDOTransaction class in session.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD aff4915e_9184_5915_825c_af794775aca3["SQLiteDOTransaction"] c22bad06_c896_0354_24e6_1e145c15794e["session.ts"] aff4915e_9184_5915_825c_af794775aca3 -->|defined in| c22bad06_c896_0354_24e6_1e145c15794e aa4320f3_9315_2092_74c1_163fdd83d1e9["transaction()"] aff4915e_9184_5915_825c_af794775aca3 -->|method| aa4320f3_9315_2092_74c1_163fdd83d1e9
Relationship Graph
Source Code
drizzle-orm/src/durable-sqlite/session.ts lines 74–88
export class SQLiteDOTransaction<TFullSchema extends Record<string, unknown>, TSchema extends TablesRelationalConfig>
extends SQLiteTransaction<
'sync',
SqlStorageCursor<Record<string, SqlStorageValue>>,
TFullSchema,
TSchema
>
{
static override readonly [entityKind]: string = 'SQLiteDOTransaction';
override transaction<T>(transaction: (tx: SQLiteDOTransaction<TFullSchema, TSchema>) => T): T {
const tx = new SQLiteDOTransaction('sync', this.dialect, this.session, this.schema, this.nestedIndex + 1);
return this.session.transaction(() => transaction(tx));
}
}
Domain
Defined In
Source
Frequently Asked Questions
What is the SQLiteDOTransaction class?
SQLiteDOTransaction is a class in the drizzle-orm codebase, defined in drizzle-orm/src/durable-sqlite/session.ts.
Where is SQLiteDOTransaction defined?
SQLiteDOTransaction is defined in drizzle-orm/src/durable-sqlite/session.ts at line 74.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free