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
  afefe345_f889_6a3e_35a3_f0fc5fb3f0d0["constructor()"]
  e722a0dc_424f_e268_b60c_f7637b7e64fb["PreparedQuery"]
  afefe345_f889_6a3e_35a3_f0fc5fb3f0d0 -->|defined in| e722a0dc_424f_e268_b60c_f7637b7e64fb
  5bdac8d5_fcfc_39fd_0f5a_9b687754ea1e["constructor()"]
  5bdac8d5_fcfc_39fd_0f5a_9b687754ea1e -->|calls| afefe345_f889_6a3e_35a3_f0fc5fb3f0d0
  5bdac8d5_fcfc_39fd_0f5a_9b687754ea1e["constructor()"]
  afefe345_f889_6a3e_35a3_f0fc5fb3f0d0 -->|calls| 5bdac8d5_fcfc_39fd_0f5a_9b687754ea1e
  style afefe345_f889_6a3e_35a3_f0fc5fb3f0d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sql-js/session.ts lines 94–104

	constructor(
		private client: Database,
		query: Query,
		private logger: Logger,
		private fields: SelectedFieldsOrdered | undefined,
		executeMethod: SQLiteExecuteMethod,
		private _isResponseInArrayMode: boolean,
		private customResultMapper?: (rows: unknown[][], mapColumnValue?: (value: unknown) => unknown) => unknown,
	) {
		super('sync', executeMethod, query);
	}

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/sql-js/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/sql-js/session.ts at line 94.
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