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
  6ee5eeb1_32c9_714f_ace7_e996e04fad11["constructor()"]
  02d0c510_ed76_17a4_347a_0a7ad3ef5c35["SQLiteBunSession"]
  6ee5eeb1_32c9_714f_ace7_e996e04fad11 -->|defined in| 02d0c510_ed76_17a4_347a_0a7ad3ef5c35
  09f7256a_ba88_7ebd_739d_b5dd80df061f["constructor()"]
  09f7256a_ba88_7ebd_739d_b5dd80df061f -->|calls| 6ee5eeb1_32c9_714f_ace7_e996e04fad11
  09f7256a_ba88_7ebd_739d_b5dd80df061f["constructor()"]
  6ee5eeb1_32c9_714f_ace7_e996e04fad11 -->|calls| 09f7256a_ba88_7ebd_739d_b5dd80df061f
  style 6ee5eeb1_32c9_714f_ace7_e996e04fad11 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	constructor(
		private client: Database,
		dialect: SQLiteSyncDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		options: SQLiteBunSessionOptions = {},
	) {
		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/bun-sqlite/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/bun-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