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 bc29726a_dd69_80a6_9aab_04a3155df39b["constructor()"] 0a6098e5_e35f_dbf4_acfc_717471d58678["BunSQLSession"] bc29726a_dd69_80a6_9aab_04a3155df39b -->|defined in| 0a6098e5_e35f_dbf4_acfc_717471d58678 362c4db7_ece9_10f2_7b85_787c6b1c218f["constructor()"] 362c4db7_ece9_10f2_7b85_787c6b1c218f -->|calls| bc29726a_dd69_80a6_9aab_04a3155df39b 38dd89eb_49cf_0d4d_0be6_6585ab983239["constructor()"] 38dd89eb_49cf_0d4d_0be6_6585ab983239 -->|calls| bc29726a_dd69_80a6_9aab_04a3155df39b 38dd89eb_49cf_0d4d_0be6_6585ab983239["constructor()"] bc29726a_dd69_80a6_9aab_04a3155df39b -->|calls| 38dd89eb_49cf_0d4d_0be6_6585ab983239 style bc29726a_dd69_80a6_9aab_04a3155df39b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/bun-sql/session.ts lines 120–130
constructor(
public client: TSQL,
dialect: PgDialect,
private schema: RelationalSchemaConfig<TSchema> | undefined,
/** @internal */
readonly options: BunSQLSessionOptions = {},
) {
super(dialect);
this.logger = options.logger ?? new NoopLogger();
this.cache = options.cache ?? new NoopCache();
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/bun-sql/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/bun-sql/session.ts at line 120.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 2 function(s): constructor, constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free