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
  02840ffb_5bdf_bed2_f151_5eacaf27b039["constructor()"]
  7a5a243a_5865_a6b8_4241_75b36641bad7["GelDbSession"]
  02840ffb_5bdf_bed2_f151_5eacaf27b039 -->|defined in| 7a5a243a_5865_a6b8_4241_75b36641bad7
  868aa770_b759_5b00_609e_994cb0b22f64["constructor()"]
  868aa770_b759_5b00_609e_994cb0b22f64 -->|calls| 02840ffb_5bdf_bed2_f151_5eacaf27b039
  db8f47b2_6f45_1e32_5e83_85e1681b4b24["constructor()"]
  db8f47b2_6f45_1e32_5e83_85e1681b4b24 -->|calls| 02840ffb_5bdf_bed2_f151_5eacaf27b039
  868aa770_b759_5b00_609e_994cb0b22f64["constructor()"]
  02840ffb_5bdf_bed2_f151_5eacaf27b039 -->|calls| 868aa770_b759_5b00_609e_994cb0b22f64
  style 02840ffb_5bdf_bed2_f151_5eacaf27b039 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel/session.ts lines 117–126

	constructor(
		private client: GelClient,
		dialect: GelDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		private options: GelSessionOptions = {},
	) {
		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/gel/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel/session.ts at line 117.
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