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
  b7213a69_4965_a577_70f5_2d0091b8866a["constructor()"]
  12fe24d0_09b0_fb33_2535_96df4eac32c6["PrismaMySqlSession"]
  b7213a69_4965_a577_70f5_2d0091b8866a -->|defined in| 12fe24d0_09b0_fb33_2535_96df4eac32c6
  3d2b9812_74df_55c7_8e03_59cbd3d5d1ba["constructor()"]
  3d2b9812_74df_55c7_8e03_59cbd3d5d1ba -->|calls| b7213a69_4965_a577_70f5_2d0091b8866a
  936f9cc1_05ae_04d4_9ec9_b189d07c9ac5["constructor()"]
  936f9cc1_05ae_04d4_9ec9_b189d07c9ac5 -->|calls| b7213a69_4965_a577_70f5_2d0091b8866a
  3d2b9812_74df_55c7_8e03_59cbd3d5d1ba["constructor()"]
  b7213a69_4965_a577_70f5_2d0091b8866a -->|calls| 3d2b9812_74df_55c7_8e03_59cbd3d5d1ba
  style b7213a69_4965_a577_70f5_2d0091b8866a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/prisma/mysql/session.ts lines 48–55

	constructor(
		dialect: MySqlDialect,
		private readonly prisma: PrismaClient,
		private readonly options: PrismaMySqlSessionOptions,
	) {
		super(dialect);
		this.logger = options.logger ?? new NoopLogger();
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free