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
  7bb16eac_82c6_208f_37d9_edfecbf7c888["constructor()"]
  e9d8b7b5_1910_1bff_8151_cd5dc7990756["SingleStoreDriverSession"]
  7bb16eac_82c6_208f_37d9_edfecbf7c888 -->|defined in| e9d8b7b5_1910_1bff_8151_cd5dc7990756
  85e54432_2da9_49a1_2078_c29adc7b74a2["constructor()"]
  85e54432_2da9_49a1_2078_c29adc7b74a2 -->|calls| 7bb16eac_82c6_208f_37d9_edfecbf7c888
  5914991e_167f_510d_6b0b_918e23015f92["constructor()"]
  5914991e_167f_510d_6b0b_918e23015f92 -->|calls| 7bb16eac_82c6_208f_37d9_edfecbf7c888
  85e54432_2da9_49a1_2078_c29adc7b74a2["constructor()"]
  7bb16eac_82c6_208f_37d9_edfecbf7c888 -->|calls| 85e54432_2da9_49a1_2078_c29adc7b74a2
  style 7bb16eac_82c6_208f_37d9_edfecbf7c888 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/singlestore/session.ts lines 211–220

	constructor(
		private client: SingleStoreDriverClient,
		dialect: SingleStoreDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		private options: SingleStoreDriverSessionOptions,
	) {
		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/singlestore/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/singlestore/session.ts at line 211.
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