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

constructor() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bdd2399c_4c4e_3bc3_7747_cfa68a481f95["constructor()"]
  47f802c3_39d4_8a05_ef43_b3ba205a3e10["GelInsertBase"]
  bdd2399c_4c4e_3bc3_7747_cfa68a481f95 -->|defined in| 47f802c3_39d4_8a05_ef43_b3ba205a3e10
  65928e0c_3a95_3e27_acab_bb95eac128df["constructor()"]
  65928e0c_3a95_3e27_acab_bb95eac128df -->|calls| bdd2399c_4c4e_3bc3_7747_cfa68a481f95
  65928e0c_3a95_3e27_acab_bb95eac128df["constructor()"]
  bdd2399c_4c4e_3bc3_7747_cfa68a481f95 -->|calls| 65928e0c_3a95_3e27_acab_bb95eac128df
  style bdd2399c_4c4e_3bc3_7747_cfa68a481f95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/gel-core/query-builders/insert.ts lines 237–248

	constructor(
		table: TTable,
		values: GelInsertConfig['values'],
		private session: GelSession,
		private dialect: GelDialect,
		withList?: Subquery[],
		select?: boolean,
		overridingSystemValue_?: boolean,
	) {
		super();
		this.config = { table, values: values as any, withList, select, overridingSystemValue_ };
	}

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/gel-core/query-builders/insert.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/gel-core/query-builders/insert.ts at line 237.
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