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
  54a0d1f6_ff3e_da78_252a_101463b79e2d["constructor()"]
  bef17a4b_1799_4883_f38d_851173aa1ff4["NeonSession"]
  54a0d1f6_ff3e_da78_252a_101463b79e2d -->|defined in| bef17a4b_1799_4883_f38d_851173aa1ff4
  6410909d_78ed_cdee_f394_9db37fe12ac3["constructor()"]
  6410909d_78ed_cdee_f394_9db37fe12ac3 -->|calls| 54a0d1f6_ff3e_da78_252a_101463b79e2d
  2b013ed2_a937_c2fa_2ab9_86ce71294ded["constructor()"]
  2b013ed2_a937_c2fa_2ab9_86ce71294ded -->|calls| 54a0d1f6_ff3e_da78_252a_101463b79e2d
  6410909d_78ed_cdee_f394_9db37fe12ac3["constructor()"]
  54a0d1f6_ff3e_da78_252a_101463b79e2d -->|calls| 6410909d_78ed_cdee_f394_9db37fe12ac3
  style 54a0d1f6_ff3e_da78_252a_101463b79e2d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/neon-serverless/session.ts lines 197–206

	constructor(
		private client: NeonClient,
		dialect: PgDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		private options: NeonSessionOptions = {},
	) {
		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/neon-serverless/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/neon-serverless/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