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
  b7304cb8_b321_4303_73a9_79485d79acfd["constructor()"]
  9b87d13f_b108_a6bb_f37d_c1cb86125580["MySqlRemoteSession"]
  b7304cb8_b321_4303_73a9_79485d79acfd -->|defined in| 9b87d13f_b108_a6bb_f37d_c1cb86125580
  a8f38194_c681_a41c_7683_ebe766f2ab05["constructor()"]
  a8f38194_c681_a41c_7683_ebe766f2ab05 -->|calls| b7304cb8_b321_4303_73a9_79485d79acfd
  a8f38194_c681_a41c_7683_ebe766f2ab05["constructor()"]
  b7304cb8_b321_4303_73a9_79485d79acfd -->|calls| a8f38194_c681_a41c_7683_ebe766f2ab05
  style b7304cb8_b321_4303_73a9_79485d79acfd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/mysql-proxy/session.ts lines 41–50

	constructor(
		private client: RemoteCallback,
		dialect: MySqlDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		options: MySqlRemoteSessionOptions,
	) {
		super(dialect);
		this.logger = options.logger ?? new NoopLogger();
		this.cache = options.cache ?? new NoopCache();
	}

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/mysql-proxy/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/mysql-proxy/session.ts at line 41.
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