Home / Function/ constructor() — drizzle-orm Function Reference

constructor() — drizzle-orm Function Reference

Architecture documentation for the constructor() function in session.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  d4e6fdb7_8381_79dc_a8d5_f86e0452e022["constructor()"]
  ec4b43ae_1b96_d924_e3b3_108b18fb2a90["SQLiteDOSession"]
  d4e6fdb7_8381_79dc_a8d5_f86e0452e022 -->|defined in| ec4b43ae_1b96_d924_e3b3_108b18fb2a90
  0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f["constructor()"]
  0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f -->|calls| d4e6fdb7_8381_79dc_a8d5_f86e0452e022
  0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f["constructor()"]
  d4e6fdb7_8381_79dc_a8d5_f86e0452e022 -->|calls| 0ab1fae8_9af9_2ce6_e7a4_f8d73a7e299f
  style d4e6fdb7_8381_79dc_a8d5_f86e0452e022 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/durable-sqlite/session.ts lines 35–43

	constructor(
		private client: DurableObjectStorage,
		dialect: SQLiteSyncDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		options: SQLiteDOSessionOptions = {},
	) {
		super(dialect);
		this.logger = options.logger ?? new NoopLogger();
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/durable-sqlite/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/durable-sqlite/session.ts at line 35.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free