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
  0de67764_999f_72ca_d69f_9a54e0f52fd3["constructor()"]
  8547eb9d_d783_00ed_fafd_5d4e77e8be54["SQLiteRemoteSession"]
  0de67764_999f_72ca_d69f_9a54e0f52fd3 -->|defined in| 8547eb9d_d783_00ed_fafd_5d4e77e8be54
  8789fdb6_dd17_dd4a_15bc_d5c10c1c2e1c["constructor()"]
  8789fdb6_dd17_dd4a_15bc_d5c10c1c2e1c -->|calls| 0de67764_999f_72ca_d69f_9a54e0f52fd3
  8789fdb6_dd17_dd4a_15bc_d5c10c1c2e1c["constructor()"]
  0de67764_999f_72ca_d69f_9a54e0f52fd3 -->|calls| 8789fdb6_dd17_dd4a_15bc_d5c10c1c2e1c
  style 0de67764_999f_72ca_d69f_9a54e0f52fd3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/sqlite-proxy/session.ts lines 38–48

	constructor(
		private client: RemoteCallback,
		dialect: SQLiteAsyncDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		private batchCLient?: AsyncBatchRemoteCallback,
		options: SQLiteRemoteSessionOptions = {},
	) {
		super(dialect);
		this.logger = options.logger ?? new NoopLogger();
		this.cache = options.cache ?? new NoopCache();
	}

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