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
  e591ae4d_fc1c_912e_f7aa_b060f49ed8c2["constructor()"]
  af5b1bd6_529c_c417_9e7e_86a57f414237["TiDBServerlessTransaction"]
  e591ae4d_fc1c_912e_f7aa_b060f49ed8c2 -->|defined in| af5b1bd6_529c_c417_9e7e_86a57f414237
  6bbdb213_e75f_13c8_d096_366f7a96982a["constructor()"]
  6bbdb213_e75f_13c8_d096_366f7a96982a -->|calls| e591ae4d_fc1c_912e_f7aa_b060f49ed8c2
  6bbdb213_e75f_13c8_d096_366f7a96982a["constructor()"]
  e591ae4d_fc1c_912e_f7aa_b060f49ed8c2 -->|calls| 6bbdb213_e75f_13c8_d096_366f7a96982a
  style e591ae4d_fc1c_912e_f7aa_b060f49ed8c2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/tidb-serverless/session.ts lines 200–207

	constructor(
		dialect: MySqlDialect,
		session: MySqlSession,
		schema: RelationalSchemaConfig<TSchema> | undefined,
		nestedIndex = 0,
	) {
		super(dialect, session, schema, nestedIndex, 'default');
	}

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/tidb-serverless/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/tidb-serverless/session.ts at line 200.
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