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
  04ed5455_b56a_2a80_2dfc_cead2451a9a4["constructor()"]
  81a4e159_1fd1_64d3_dcd4_a1fbabbc531f["VercelPgSession"]
  04ed5455_b56a_2a80_2dfc_cead2451a9a4 -->|defined in| 81a4e159_1fd1_64d3_dcd4_a1fbabbc531f
  fe48f394_88e3_d209_0804_2a2936e7d214["constructor()"]
  fe48f394_88e3_d209_0804_2a2936e7d214 -->|calls| 04ed5455_b56a_2a80_2dfc_cead2451a9a4
  b298039c_732f_2d52_a48c_d75beeea58fa["constructor()"]
  b298039c_732f_2d52_a48c_d75beeea58fa -->|calls| 04ed5455_b56a_2a80_2dfc_cead2451a9a4
  fe48f394_88e3_d209_0804_2a2936e7d214["constructor()"]
  04ed5455_b56a_2a80_2dfc_cead2451a9a4 -->|calls| fe48f394_88e3_d209_0804_2a2936e7d214
  style 04ed5455_b56a_2a80_2dfc_cead2451a9a4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/vercel-postgres/session.ts lines 197–206

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

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/vercel-postgres/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/vercel-postgres/session.ts at line 197.
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