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
  7b281f7e_eb3f_8e06_920f_b8b9638fb3d2["constructor()"]
  d0d1ff83_34d6_a16a_84ab_5cb4f8b60ae2["PrismaPgSession"]
  7b281f7e_eb3f_8e06_920f_b8b9638fb3d2 -->|defined in| d0d1ff83_34d6_a16a_84ab_5cb4f8b60ae2
  73b31ffd_66c4_edae_e676_6246f5f45d32["constructor()"]
  73b31ffd_66c4_edae_e676_6246f5f45d32 -->|calls| 7b281f7e_eb3f_8e06_920f_b8b9638fb3d2
  d643f230_7f99_4522_1246_32c32d7cabc8["constructor()"]
  d643f230_7f99_4522_1246_32c32d7cabc8 -->|calls| 7b281f7e_eb3f_8e06_920f_b8b9638fb3d2
  73b31ffd_66c4_edae_e676_6246f5f45d32["constructor()"]
  7b281f7e_eb3f_8e06_920f_b8b9638fb3d2 -->|calls| 73b31ffd_66c4_edae_e676_6246f5f45d32
  style 7b281f7e_eb3f_8e06_920f_b8b9638fb3d2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/prisma/pg/session.ts lines 51–58

	constructor(
		dialect: PgDialect,
		private readonly prisma: PrismaClient,
		private readonly options: PrismaPgSessionOptions,
	) {
		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/pg/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/prisma/pg/session.ts at line 51.
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