Home / Function/ constructor() — drizzle-orm Function Reference

constructor() — drizzle-orm Function Reference

Architecture documentation for the constructor() function in query.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  e14d9230_dab1_34e5_89dd_cde396833c2b["constructor()"]
  1996e892_fd24_5283_95bb_bce31e3f3f8d["RelationalQueryBuilder"]
  e14d9230_dab1_34e5_89dd_cde396833c2b -->|defined in| 1996e892_fd24_5283_95bb_bce31e3f3f8d
  57fb109a_5618_13c4_660b_2edb0d6ba1b6["constructor()"]
  57fb109a_5618_13c4_660b_2edb0d6ba1b6 -->|calls| e14d9230_dab1_34e5_89dd_cde396833c2b
  b561af01_a6c0_b9be_c8a1_2cfe7b4163e5["constructor()"]
  b561af01_a6c0_b9be_c8a1_2cfe7b4163e5 -->|calls| e14d9230_dab1_34e5_89dd_cde396833c2b
  57fb109a_5618_13c4_660b_2edb0d6ba1b6["constructor()"]
  e14d9230_dab1_34e5_89dd_cde396833c2b -->|calls| 57fb109a_5618_13c4_660b_2edb0d6ba1b6
  style e14d9230_dab1_34e5_89dd_cde396833c2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/query.ts lines 22–30

	constructor(
		private fullSchema: Record<string, unknown>,
		private schema: TSchema,
		private tableNamesMap: Record<string, string>,
		private table: GelTable,
		private tableConfig: TableRelationalConfig,
		private dialect: GelDialect,
		private session: GelSession,
	) {}

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/query-builders/query.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel-core/query-builders/query.ts at line 22.
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