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
  31410731_1419_254a_c151_a329a6afed5b["constructor()"]
  f3f9b7e5_e992_8ce5_9f6d_e7d9a7e3a25d["RelationalQueryBuilder"]
  31410731_1419_254a_c151_a329a6afed5b -->|defined in| f3f9b7e5_e992_8ce5_9f6d_e7d9a7e3a25d
  2bc80364_c2bf_5b76_87e1_24911ebe48df["constructor()"]
  2bc80364_c2bf_5b76_87e1_24911ebe48df -->|calls| 31410731_1419_254a_c151_a329a6afed5b
  55d303ac_9d30_fb92_3d2f_cd64bcf63c75["constructor()"]
  55d303ac_9d30_fb92_3d2f_cd64bcf63c75 -->|calls| 31410731_1419_254a_c151_a329a6afed5b
  2bc80364_c2bf_5b76_87e1_24911ebe48df["constructor()"]
  31410731_1419_254a_c151_a329a6afed5b -->|calls| 2bc80364_c2bf_5b76_87e1_24911ebe48df
  style 31410731_1419_254a_c151_a329a6afed5b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/query.ts lines 30–39

	constructor(
		protected mode: TMode,
		protected fullSchema: Record<string, unknown>,
		protected schema: TSchema,
		protected tableNamesMap: Record<string, string>,
		protected table: SQLiteTable,
		protected tableConfig: TableRelationalConfig,
		protected dialect: SQLiteDialect,
		protected session: SQLiteSession<'async', unknown, TFullSchema, TSchema>,
	) {}

Domain

Subdomains

Frequently Asked Questions

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