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
  383287f9_fc8a_81d2_86f6_8fb847d75292["constructor()"]
  d351aaf5_212b_70bc_86f8_c0a8a986cf97["XataHttpPreparedQuery"]
  383287f9_fc8a_81d2_86f6_8fb847d75292 -->|defined in| d351aaf5_212b_70bc_86f8_c0a8a986cf97
  48829bfc_dda4_1371_aada_ce961af60ad6["constructor()"]
  48829bfc_dda4_1371_aada_ce961af60ad6 -->|calls| 383287f9_fc8a_81d2_86f6_8fb847d75292
  48829bfc_dda4_1371_aada_ce961af60ad6["constructor()"]
  383287f9_fc8a_81d2_86f6_8fb847d75292 -->|calls| 48829bfc_dda4_1371_aada_ce961af60ad6
  style 383287f9_fc8a_81d2_86f6_8fb847d75292 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/xata-http/session.ts lines 30–45

	constructor(
		private client: XataHttpClient,
		query: Query,
		private logger: Logger,
		cache: Cache,
		queryMetadata: {
			type: 'select' | 'update' | 'delete' | 'insert';
			tables: string[];
		} | undefined,
		cacheConfig: WithCacheConfig | undefined,
		private fields: SelectedFieldsOrdered | undefined,
		private _isResponseInArrayMode: boolean,
		private customResultMapper?: (rows: unknown[][]) => T['execute'],
	) {
		super(query, cache, queryMetadata, cacheConfig);
	}

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