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
  cd81a0a2_9003_f022_9c9f_db9fc1f812e6["constructor()"]
  fd9d3b22_d4f5_65bb_f267_7230f9181031["SQLiteInsertBase"]
  cd81a0a2_9003_f022_9c9f_db9fc1f812e6 -->|defined in| fd9d3b22_d4f5_65bb_f267_7230f9181031
  0ac1469c_f144_9cdb_5993_05fc00928732["constructor()"]
  0ac1469c_f144_9cdb_5993_05fc00928732 -->|calls| cd81a0a2_9003_f022_9c9f_db9fc1f812e6
  0ac1469c_f144_9cdb_5993_05fc00928732["constructor()"]
  cd81a0a2_9003_f022_9c9f_db9fc1f812e6 -->|calls| 0ac1469c_f144_9cdb_5993_05fc00928732
  style cd81a0a2_9003_f022_9c9f_db9fc1f812e6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-core/query-builders/insert.ts lines 241–251

	constructor(
		table: TTable,
		values: SQLiteInsertConfig['values'],
		private session: SQLiteSession<any, any, any, any>,
		private dialect: SQLiteDialect,
		withList?: Subquery[],
		select?: boolean,
	) {
		super();
		this.config = { table, values: values as any, withList, select };
	}

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