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
  1ea8908a_d2e7_96c8_94e9_5aa4d4c776ef["constructor()"]
  60b52bae_f4fa_9a37_62a0_75cca0daeace["PgRemoteSession"]
  1ea8908a_d2e7_96c8_94e9_5aa4d4c776ef -->|defined in| 60b52bae_f4fa_9a37_62a0_75cca0daeace
  8b3a8bf6_16e6_6534_71f7_87971008b30a["constructor()"]
  8b3a8bf6_16e6_6534_71f7_87971008b30a -->|calls| 1ea8908a_d2e7_96c8_94e9_5aa4d4c776ef
  8b3a8bf6_16e6_6534_71f7_87971008b30a["constructor()"]
  1ea8908a_d2e7_96c8_94e9_5aa4d4c776ef -->|calls| 8b3a8bf6_16e6_6534_71f7_87971008b30a
  style 1ea8908a_d2e7_96c8_94e9_5aa4d4c776ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-proxy/session.ts lines 32–41

	constructor(
		private client: RemoteCallback,
		dialect: PgDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		options: PgRemoteSessionOptions = {},
	) {
		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/pg-proxy/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/pg-proxy/session.ts at line 32.
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