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
  f552c1ad_d8c7_fb57_c7ca_67731ea772a2["constructor()"]
  2b78500e_17db_b1f3_877c_30277daacdcd["PostgresJsTransaction"]
  f552c1ad_d8c7_fb57_c7ca_67731ea772a2 -->|defined in| 2b78500e_17db_b1f3_877c_30277daacdcd
  8e8c8012_7ad8_d556_7e63_a03cdd82c11e["constructor()"]
  f552c1ad_d8c7_fb57_c7ca_67731ea772a2 -->|calls| 8e8c8012_7ad8_d556_7e63_a03cdd82c11e
  style f552c1ad_d8c7_fb57_c7ca_67731ea772a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/postgres-js/session.ts lines 193–201

	constructor(
		dialect: PgDialect,
		/** @internal */
		override readonly session: PostgresJsSession<TransactionSql, TFullSchema, TSchema>,
		schema: RelationalSchemaConfig<TSchema> | undefined,
		nestedIndex = 0,
	) {
		super(dialect, session, schema, nestedIndex);
	}

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/postgres-js/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/postgres-js/session.ts at line 193.
What does constructor() call?
constructor() calls 1 function(s): constructor.

Analyze Your Own Codebase

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

Try Supermodel Free